Created
March 20, 2018 06:06
-
-
Save codarrenvelvindron/5c650e3ce2790793cf0ed2785e427296 to your computer and use it in GitHub Desktop.
Prerequisites: Ubuntu, nvidia card, dev environment . Run as sudo user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Add ubuntu package archive | |
echo "Adding ubuntu package archive to sources list" | |
sudo echo "deb-src http://archive.ubuntu.com/ubuntu/ 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