How to Install and Uninstall nvidia-cuda-toolkit-gcc Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 21,2024
Notice
You can also install and uninstall the nvidia-cuda-toolkit-gcc on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "nvidia-cuda-toolkit-gcc" package
Here is a brief guide to show you how to install nvidia-cuda-toolkit-gcc on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
nvidia-cuda-toolkit-gcc
Copied
2. Uninstall "nvidia-cuda-toolkit-gcc" package
This guide let you learn how to uninstall nvidia-cuda-toolkit-gcc on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
nvidia-cuda-toolkit-gcc
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the nvidia-cuda-toolkit-gcc package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: nvidia-cuda-toolkit-gcc
Architecture: amd64
Version: 11.5.1-1ubuntu1
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: 92
Depends: g++-11, gcc-11, nvidia-cuda-toolkit (= 11.5.1-1ubuntu1)
Filename: pool/multiverse/n/nvidia-cuda-toolkit/nvidia-cuda-toolkit-gcc_11.5.1-1ubuntu1_amd64.deb
Size: 16334
MD5sum: 42e4afa06fde67b20ad79c3f9f18d440
SHA1: 83b7a506ab795d7c5d43ccaf8a2b3060a94874bc
SHA256: 64a1b971f541ede53321ba479646f91df7bd51f0e55d7ebf0d79103a13b27230
SHA512: a99e3a1e833a43ae1fbebe255398a8b2dfac3f1667de6eff9e90f364d923bb5fc192d3c7af7837e3dc81f07228db9a13bb99e1e59396c82d4fe449c0f1ce835d
Homepage: https://developer.nvidia.com/cuda-zone
Description: NVIDIA CUDA development toolkit (GCC compatibility)
Description-md5: 3fb666316ef4562383ecd8260bc3bc9f
Architecture: amd64
Version: 11.5.1-1ubuntu1
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: 92
Depends: g++-11, gcc-11, nvidia-cuda-toolkit (= 11.5.1-1ubuntu1)
Filename: pool/multiverse/n/nvidia-cuda-toolkit/nvidia-cuda-toolkit-gcc_11.5.1-1ubuntu1_amd64.deb
Size: 16334
MD5sum: 42e4afa06fde67b20ad79c3f9f18d440
SHA1: 83b7a506ab795d7c5d43ccaf8a2b3060a94874bc
SHA256: 64a1b971f541ede53321ba479646f91df7bd51f0e55d7ebf0d79103a13b27230
SHA512: a99e3a1e833a43ae1fbebe255398a8b2dfac3f1667de6eff9e90f364d923bb5fc192d3c7af7837e3dc81f07228db9a13bb99e1e59396c82d4fe449c0f1ce835d
Homepage: https://developer.nvidia.com/cuda-zone
Description: NVIDIA CUDA development toolkit (GCC compatibility)
Description-md5: 3fb666316ef4562383ecd8260bc3bc9f