How to Install and Uninstall nvidia-cuda-toolkit-gcc Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 21,2024

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

Please follow the guidance below to install nvidia-cuda-toolkit-gcc on Ubuntu 24.04 LTS (Noble Numbat)

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

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

Please follow the guidelines below to uninstall nvidia-cuda-toolkit-gcc on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the nvidia-cuda-toolkit-gcc package on Ubuntu 24.04 LTS (Noble Numbat)

Package: nvidia-cuda-toolkit-gcc
Architecture: amd64
Version: 12.0.1-4build1
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: 87
Depends: g++-12, nvidia-cuda-toolkit (= 12.0.140~12.0.1-4build1)
Filename: pool/multiverse/n/nvidia-cuda-toolkit/nvidia-cuda-toolkit-gcc_12.0.1-4build1_amd64.deb
Size: 16468
MD5sum: f6e51fce0f76cfa62cb90f4c6002c52f
SHA1: 03d3f3c7d6e71e571d22896d8644079d08a33768
SHA256: f08573f60b70c4382b4211e0d0020bf29f6cf1804062d3aad17ab94f5e3b3414
SHA512: da9e67a6a62d39cbfec1e8294a24d51a31c82bb31ff325a87549750fb2d7cb3b9709f0685711a4b1ebbc4fd25c573e444cba3d9b96add5b4ce75987e6d1beb75
Homepage: https://developer.nvidia.com/cuda-zone
Description: NVIDIA CUDA development toolkit (GCC compatibility)
Description-md5: 7ce75ce1d326c959ae1d41d38407d4e7