How to Install and Uninstall nvidia-cuda-toolkit Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 07,2024
1. Install "nvidia-cuda-toolkit" package
This is a short guide on how to install nvidia-cuda-toolkit on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
nvidia-cuda-toolkit
Copied
2. Uninstall "nvidia-cuda-toolkit" package
This is a short guide on how to uninstall nvidia-cuda-toolkit on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
nvidia-cuda-toolkit
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the nvidia-cuda-toolkit package on Ubuntu 20.04 LTS (Focal Fossa)
Package: nvidia-cuda-toolkit
Architecture: amd64
Version: 10.1.243-3
Priority: extra
Section: multiverse/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian NVIDIA Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 65484
Depends: nvidia-profiler (= 10.1.243-3), nvidia-cuda-dev (= 10.1.243-3), nvidia-opencl-dev (= 10.1.243-3) | opencl-dev, gcc-8 | clang-8 | clang-7 | gcc-7 | clang-6.0 | clang-5.0 | clang-4.0 | clang-3.9 | clang-3.8 | clang (<< 1:9~) | gcc-6 | gcc-5 | gcc-4.9 | gcc-4.8, g++-8 | clang-8 | clang-7 | g++-7 | clang-6.0 | clang-5.0 | clang-4.0 | clang-3.9 | clang-3.8 | clang (<< 1:9~) | g++-6 | g++-5 | g++-4.9 | g++-4.8, libc6 (>= 2.14), libgcc-s1 (>= 4.2), libstdc++6 (>= 4.1.1)
Recommends: nvidia-cuda-doc (= 10.1.243-3), nvidia-cuda-gdb (= 10.1.243-3), nvidia-visual-profiler (= 10.1.243-3), nsight-compute (= 10.1.243-3), nsight-systems (= 10.1.243-3)
Suggests: nvidia-driver (>= 418.39) | nvidia-tesla-440-driver (>= 418.39) | nvidia-tesla-418-driver (>= 418.39)
Conflicts: cuda-license-7-5, cuda-repo-ubuntu1404, cuda-repo-ubuntu1404-7-5-local, cuda-repo-ubuntu1410, cuda-repo-ubuntu1504, cuda-repo-ubuntu1504-7-5-local
Filename: pool/multiverse/n/nvidia-cuda-toolkit/nvidia-cuda-toolkit_10.1.243-3_amd64.deb
Size: 35030568
MD5sum: 31b63a91bc4c933328799da8769a6412
SHA1: 8bcf5339d3a2a56db6583847e466262b72235105
SHA256: c0817188d72d28a05d75bf76a380aa67b5fb49608976e4cc07f3b3c0f2c8005a
Homepage: https://developer.nvidia.com/cuda-zone
Description: NVIDIA CUDA development toolkit
Description-md5: 4df65757189fdcbdcc50ffa97fccca02
Architecture: amd64
Version: 10.1.243-3
Priority: extra
Section: multiverse/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian NVIDIA Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 65484
Depends: nvidia-profiler (= 10.1.243-3), nvidia-cuda-dev (= 10.1.243-3), nvidia-opencl-dev (= 10.1.243-3) | opencl-dev, gcc-8 | clang-8 | clang-7 | gcc-7 | clang-6.0 | clang-5.0 | clang-4.0 | clang-3.9 | clang-3.8 | clang (<< 1:9~) | gcc-6 | gcc-5 | gcc-4.9 | gcc-4.8, g++-8 | clang-8 | clang-7 | g++-7 | clang-6.0 | clang-5.0 | clang-4.0 | clang-3.9 | clang-3.8 | clang (<< 1:9~) | g++-6 | g++-5 | g++-4.9 | g++-4.8, libc6 (>= 2.14), libgcc-s1 (>= 4.2), libstdc++6 (>= 4.1.1)
Recommends: nvidia-cuda-doc (= 10.1.243-3), nvidia-cuda-gdb (= 10.1.243-3), nvidia-visual-profiler (= 10.1.243-3), nsight-compute (= 10.1.243-3), nsight-systems (= 10.1.243-3)
Suggests: nvidia-driver (>= 418.39) | nvidia-tesla-440-driver (>= 418.39) | nvidia-tesla-418-driver (>= 418.39)
Conflicts: cuda-license-7-5, cuda-repo-ubuntu1404, cuda-repo-ubuntu1404-7-5-local, cuda-repo-ubuntu1410, cuda-repo-ubuntu1504, cuda-repo-ubuntu1504-7-5-local
Filename: pool/multiverse/n/nvidia-cuda-toolkit/nvidia-cuda-toolkit_10.1.243-3_amd64.deb
Size: 35030568
MD5sum: 31b63a91bc4c933328799da8769a6412
SHA1: 8bcf5339d3a2a56db6583847e466262b72235105
SHA256: c0817188d72d28a05d75bf76a380aa67b5fb49608976e4cc07f3b3c0f2c8005a
Homepage: https://developer.nvidia.com/cuda-zone
Description: NVIDIA CUDA development toolkit
Description-md5: 4df65757189fdcbdcc50ffa97fccca02