How to Install and Uninstall nvidia-cuda-toolkit-gcc Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 13,2024

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

Please follow the guidance below to install nvidia-cuda-toolkit-gcc on Ubuntu 21.10 (Impish Indri)

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

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

Please follow the instructions below to uninstall nvidia-cuda-toolkit-gcc on Ubuntu 21.10 (Impish Indri):

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

3. Information about the nvidia-cuda-toolkit-gcc package on Ubuntu 21.10 (Impish Indri)

Package: nvidia-cuda-toolkit-gcc
Architecture: amd64
Version: 11.3.1-4
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: 90
Depends: g++-10, gcc-10, nvidia-cuda-toolkit (= 11.3.1-4)
Filename: pool/multiverse/n/nvidia-cuda-toolkit/nvidia-cuda-toolkit-gcc_11.3.1-4_amd64.deb
Size: 15848
MD5sum: d9125cda656a984d6d96cba945aec2a0
SHA1: c84f6be2bb01779f7d6ff706cc868fc8606ec77a
SHA256: c279b6d1de163b65f842b025a3ecaf37576eb80a1cf5461d872d2a9b6deabb59
SHA512: 132fe4c711b4d8c24be8615d72059f2b92a059a60dffa506df037af1cdb4652e22c92390b19d50bf1d106dba7fc9b40fc8534b1919c378abbce692405deb7d77
Homepage: https://developer.nvidia.com/cuda-zone
Description-en: NVIDIA CUDA development toolkit (GCC compatibility)
The Compute Unified Device Architecture (CUDA) enables NVIDIA
graphics processing units (GPUs) to be used for massively parallel
general purpose computation.
.
This package provides the /usr/bin/cuda-gcc, /usr/bin/cuda-g++ symlinks to
simplify building packages that need to be built with a CUDA-compatible
compiler.
Description-md5: 3fb666316ef4562383ecd8260bc3bc9f