Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Prerequisites: Ubuntu, nvidia card, dev environment . Run as sudo user
#Add ubuntu package archive
echo "Adding ubuntu package archive to sources list"
sudo echo "deb-src xenial main" >> /etc/apt/sources.list
echo "Updating repo list"
sudo apt-get update
echo "Done.."
#Install graphics drivers
echo "Installing nvidia graphics drivers"
sudo apt-get purge nvidia
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt-get install nvidia-370
lsmod | grep nvidia
lsmod | nouveau
#Setting up dev environment
echo "Setting up Dev environment"
sudo apt-get install build-essential
sudo apt-get install libtool python python-pip libssl-dev mailutils mutt ncurses-dev git mercurial strace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.