Skip to content

Instantly share code, notes, and snippets.

@pabloariasmora
Last active May 1, 2017 17:42
Show Gist options
  • Save pabloariasmora/8a3fa78e642e4b8687bf254eead81f0d to your computer and use it in GitHub Desktop.
Save pabloariasmora/8a3fa78e642e4b8687bf254eead81f0d to your computer and use it in GitHub Desktop.
Altera Cyclone V Developer Configuration - Issue: De1-SoC-MTL2 Quantal Repos Not Found
mv /etc/apt/sources.list /etc/apt/sources.list.old
mv /etc/apt/sources.list.d/linaro-overlay-ppa.list /etc/apt/sources.list.old/linaro-overlay-ppa.list.old
echo "deb http://mirrors.digitalocean.com/ubuntu-old/ quantal main universe" > /etc/apt/sources.list
echo "deb-src http://mirrors.digitalocean.com/ubuntu-old/ quantal main universe" >> /etc/apt/sources.list
apt-get install -y ssh build-essential gdb g++
apt-get install build-essential
apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
apt-get install python-dev python-numpy
apt-get install libopencv-dev python-opencv
make uninstall
cd ..
sudo rm -r build
sudo rm -r /usr/local/include/opencv2 /usr/local/include/opencv /usr/include/opencv /usr/include/opencv2 /usr/local/share/opencv /usr/local/share/OpenCV /usr/share/opencv /usr/share/OpenCV /usr/local/bin/opencv* /usr/local/lib/libopencv*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment