Ubuntu 14.04 how to install cuda 6.5 without installing nvidia driver
Install aptitude
sudo apt-get install aptitude
and then run
aptitude
Click on Search type nvidia
, use the arrow keys to go to nvidia-340.46
and click on Package and then Hold.
(and then still take a full system backup before installing CUDA; I use CloneZilla as a system backup: just take the /
partition and leave the /home
partition out! Works like a charm!)
Also, now you have aptitude
, so even if things go wrong, you can still log into the console (Ctrl+Alt+F1) and use aptitude
to delete whatever CUDA installed....
Related videos on Youtube
Belal Medhat
graduated from faculty of computer and information science Ain-Shams university studied 4 years credit hours program in Bioinformatics looking for Do and publish research and learning Openmp mpi opengl cuda opencl opeacc HPC distributed computing parallel computing gpu computing matlab mathematica to use it in my research and work in bioinformatics i am new to linux and c but i know java
Updated on September 18, 2022Comments
-
Belal Medhat over 1 year
I am working on workstation with CPU core I7 4790 and two GPUs GTX 760 4 GB ram/1152 core the system's memory is 16 GB RAM I have Ubuntu 14.04.1 LTS after many tries and reinstalling Ubuntu many times finally i have correctly installed nvidia driver 340.46 using 3 shell commands ppa xorg-edgers
now i want to install Cuda 6.5 toolkit
but in the manual they say that the cuda toolkit installer will also install nvidia Graphics driverhow to prevent the installer from reinstall the graphics driver how to install cuda 6.5 toolkit without reinstalling my graphics driver because i faced many problems until i installed 340.46 correctly
and after successfully installing cuda toolkit 6.5 how to upgrade my graphics driver without disturbing cuda toolkit and reinstall everything from the beginning
-
Belal Medhat over 9 yearsi have installed nvidia 340.58 graphics driver and then i have installed cuda toolkit 6.5 from cuda repo .deb package and everything worked well i performed post installation steps and i run nvcc -v command it worked will but the samples cannot be run it says my gcc is 4.9.2 and it is not supported by cuda it says 4.8.2 supported what can i do ?
-
Fabby over 9 yearsI have an NVidia card and I use Xorg.edgers too and I know what CUDA is... I have yet to write my first C-program on Linux... Still at the bash stage, next is go, then back to C. Ask me again in a year or so! ;-)
-
Fabby over 9 yearsHold on! I've got gcc 4.8.2... What's your
uname -r
? -
Belal Medhat over 9 yearsuname -r 3.13.0-40-generic i have gcc 4.9.2
-
Belal Medhat over 9 yearsUbuntu 14.04.1 LTS
-
Belal Medhat over 9 yearsany way thanks faby for your answers and comments i really appreciate that
-
matanster over 8 yearsSo, did you manage to decouple the graphics driver from CUDA in any particular way? All I see on this answer is some tinkering advice. Reason I ask is I'd like to use the Nvidia card's CUDA, while a Radeon (i.e. non-Nvidia) card is used for display.
-
Fabby over 8 years@matt: Simple, just ask a new question and refer back to this question if it helps provide context. ;-) I know nothing about Radeon, so I can't help you with that, but someone else might.