How to Install and Uninstall nvidia-cuda-toolkit Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

1. Install "nvidia-cuda-toolkit" package

Please follow the step by step instructions below to install nvidia-cuda-toolkit on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install nvidia-cuda-toolkit

2. Uninstall "nvidia-cuda-toolkit" package

Please follow the steps below to uninstall nvidia-cuda-toolkit on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove nvidia-cuda-toolkit $ sudo apt autoclean && sudo apt autoremove

3. Information about the nvidia-cuda-toolkit package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: nvidia-cuda-toolkit
Priority: extra
Section: multiverse/devel
Installed-Size: 38015
Maintainer: Ubuntu Developers
Original-Maintainer: Debian NVIDIA Maintainers
Architecture: amd64
Version: 7.5.18-0ubuntu1
Depends: nvidia-profiler (= 7.5.18-0ubuntu1), nvidia-cuda-dev (= 7.5.18-0ubuntu1), nvidia-opencl-dev (= 7.5.18-0ubuntu1) | opencl-dev, gcc-5 | gcc-4.9 | gcc-4.8, g++-5 | g++-4.9 | g++-4.8, libc6 (>= 2.3.3), libgcc1 (>= 1:3.0), libnvvm3 (>= 7.0), libstdc++6 (>= 4.1.1)
Recommends: nvidia-cuda-doc (= 7.5.18-0ubuntu1), nvidia-cuda-gdb (= 7.5.18-0ubuntu1), nvidia-visual-profiler (= 7.5.18-0ubuntu1)
Suggests: libcupti-dev, nvidia-driver (>= 352.39)
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_7.5.18-0ubuntu1_amd64.deb
Size: 17074412
MD5sum: 3d7dc0554f3e30ed33d7a0ac2f9e9945
SHA1: cd2a50ba97ebadc2c8224bbd3fd48548bbb716d6
SHA256: 485a424d7e7644ce13fe91c407dffa170f9f6319e900b3e394cc7ea1b3554dc7
Description-en: NVIDIA CUDA development toolkit
The Compute Unified Device Architecture (CUDA) enables NVIDIA
graphics processing units (GPUs) to be used for massively parallel
general purpose computation.
.
This package contains the nvcc compiler and other tools needed for building
CUDA applications.
.
Running CUDA applications requires a supported NVIDIA GPU and the NVIDIA
driver kernel module.
Description-md5: 4df65757189fdcbdcc50ffa97fccca02
Homepage: http://www.nvidia.com/CUDA
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu