How to Install and Uninstall nvidia-cuda-toolkit Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: November 22,2024
1. Install "nvidia-cuda-toolkit" package
This tutorial shows how to install nvidia-cuda-toolkit on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
nvidia-cuda-toolkit
Copied
2. Uninstall "nvidia-cuda-toolkit" package
Learn how to uninstall nvidia-cuda-toolkit on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
nvidia-cuda-toolkit
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the nvidia-cuda-toolkit package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: nvidia-cuda-toolkit
Architecture: amd64
Version: 9.1.85-3ubuntu1
Priority: extra
Section: multiverse/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian NVIDIA Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 59579
Depends: nvidia-profiler (= 9.1.85-3ubuntu1), nvidia-cuda-dev (= 9.1.85-3ubuntu1), nvidia-opencl-dev (= 9.1.85-3ubuntu1) | opencl-dev, gcc-6 | clang-4.0 | clang-3.9 | clang-3.8 | clang (<< 1:5~) | gcc-5 | gcc-4.9 | gcc-4.8, g++-6 | clang-4.0 | clang-3.9 | clang-3.8 | clang (<< 1:5~) | g++-5 | g++-4.9 | g++-4.8, libc6 (>= 2.4), libgcc1 (>= 1:3.0), libnvvm3 (>= 7.0), libstdc++6 (>= 4.1.1)
Recommends: nvidia-cuda-doc (= 9.1.85-3ubuntu1), nvidia-cuda-gdb (= 9.1.85-3ubuntu1), nvidia-visual-profiler (= 9.1.85-3ubuntu1)
Suggests: libcupti-dev, nvidia-driver (>= 387.26)
Conflicts: cuda-license-7-5, cuda-repo-ubuntu1204, 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_9.1.85-3ubuntu1_amd64.deb
Size: 30357084
MD5sum: ba4745d93dc7fd98a53715e6fd5d8bdc
SHA1: 5372bbc61c2c1e07afe6fb0c1899db4fe395692b
SHA256: 670d4197f1f30856e5f85c77f1aa6b69e59ff846e3355c4a5d2618505442cc90
Homepage: https://developer.nvidia.com/cuda-zone
Description: NVIDIA CUDA development toolkit
Description-md5: 4df65757189fdcbdcc50ffa97fccca02
Architecture: amd64
Version: 9.1.85-3ubuntu1
Priority: extra
Section: multiverse/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian NVIDIA Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 59579
Depends: nvidia-profiler (= 9.1.85-3ubuntu1), nvidia-cuda-dev (= 9.1.85-3ubuntu1), nvidia-opencl-dev (= 9.1.85-3ubuntu1) | opencl-dev, gcc-6 | clang-4.0 | clang-3.9 | clang-3.8 | clang (<< 1:5~) | gcc-5 | gcc-4.9 | gcc-4.8, g++-6 | clang-4.0 | clang-3.9 | clang-3.8 | clang (<< 1:5~) | g++-5 | g++-4.9 | g++-4.8, libc6 (>= 2.4), libgcc1 (>= 1:3.0), libnvvm3 (>= 7.0), libstdc++6 (>= 4.1.1)
Recommends: nvidia-cuda-doc (= 9.1.85-3ubuntu1), nvidia-cuda-gdb (= 9.1.85-3ubuntu1), nvidia-visual-profiler (= 9.1.85-3ubuntu1)
Suggests: libcupti-dev, nvidia-driver (>= 387.26)
Conflicts: cuda-license-7-5, cuda-repo-ubuntu1204, 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_9.1.85-3ubuntu1_amd64.deb
Size: 30357084
MD5sum: ba4745d93dc7fd98a53715e6fd5d8bdc
SHA1: 5372bbc61c2c1e07afe6fb0c1899db4fe395692b
SHA256: 670d4197f1f30856e5f85c77f1aa6b69e59ff846e3355c4a5d2618505442cc90
Homepage: https://developer.nvidia.com/cuda-zone
Description: NVIDIA CUDA development toolkit
Description-md5: 4df65757189fdcbdcc50ffa97fccca02