How to Install and Uninstall nvidia-cuda-toolkit-gcc Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 21,2024

1. Install "nvidia-cuda-toolkit-gcc" package

Please follow the step by step instructions below to install nvidia-cuda-toolkit-gcc on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "nvidia-cuda-toolkit-gcc" package

This guide covers the steps necessary to uninstall nvidia-cuda-toolkit-gcc on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the nvidia-cuda-toolkit-gcc package on Ubuntu 20.04 LTS (Focal Fossa)

Package: nvidia-cuda-toolkit-gcc
Architecture: amd64
Version: 10.1.243-3
Priority: optional
Section: multiverse/devel
Source: nvidia-cuda-toolkit
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian NVIDIA Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 86
Depends: gcc-8, g++-8, nvidia-cuda-toolkit (= 10.1.243-3)
Filename: pool/multiverse/n/nvidia-cuda-toolkit/nvidia-cuda-toolkit-gcc_10.1.243-3_amd64.deb
Size: 15300
MD5sum: d13016ece0209de3657fb5468ccfbd7a
SHA1: 4357645af68d675e2d7a75f63b80cd333c17fecb
SHA256: 2f6914fa3584bc38f0d5db625e8922659b73855e001c3f04a7f662e97d8987ba
Homepage: https://developer.nvidia.com/cuda-zone
Description: NVIDIA CUDA development toolkit (GCC compatibility)
Description-md5: 3fb666316ef4562383ecd8260bc3bc9f