7/3/2023 0 Comments Ubuntu 16.04 install cuda![]() Sudo apt-get install -y linux-headers-$(uname -r)įirst, locate what you have already installed: dpkg -get-selections | grep cuda | egrep 'install$' Install kernel headers: sudo apt-get update Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This is free software see the source for copying conditions. Run: uname -m & cat /etc/*release | head -n0Īnd check if your system has GCC installed. Make few initial checks to ensure that everything is in place: GPU deviceĮxecute in a terminal: lspci | grep -i nvidiaĪnd you should see something similar to this: 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c20 (rev a1) I was really positively surprised how much all CUDA-related tools matured over the time. Luckily, time changed and nowadays, it's much easier and better documented. Several times I messed up so much that it was easier to reinstall the whole OS to have a fresh start than trying to undo everything. ![]() I remember when 4 years ago, I was trying to configure CUDA on a laptop with Ubuntu 14.04 and Nvidia Optimus technology - it was a quite tough process.
0 Comments
Leave a Reply. |