Log out from GUI by pressing ctrl + alt + f2 Stop lightdm sudo service lightdm stop Run installation file cd ~/Downloads sudo sh cuda_7. Sudo apt- get install linux-headers-$(uname -r) Sudo apt- get source linux-image-$(uname -r) Reboot and update Install linux kernel modules, headers, sourceĮverything just to avoid "unable to locate the kernel source" error sudo apt-get install linux-image-extra- virtual Remove nf if it exists sudo rm /etc/X11/nfīlacklist custom drivers echo -e "blacklist nouveau\nblacklist lbm-nouveau\noptions nouveau modeset=0\nalias nouveau off\nalias lbm-nouveau off\n" | sudo tee /etc/modprobe.d/nfĮcho options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nf Sudo mokutil -disable-validation Install build-essential sudo apt-get install build-essential Sometimes drivers ask for it automatically, other times it may cause a fail sudo apt install mokutil Remove everything from NVIDIA if there is anything sudo apt- get purge nvidia* First of all, I do it in order to not search them again by dozens of stackoverflow answers and random articles, however, maybe someone else will also find a good use of it. After weeks of struggling I decided to collect here all the commands which may be useful while installing CUDA 7.5 on Ubuntu 14.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |