How to Install and Uninstall nvidia-cuda-toolkit-gcc Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: June 22,2024

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 $ sudo apt install nvidia-cuda-toolkit-gcc

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 $ sudo apt autoclean && sudo apt autoremove

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
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
Description: NVIDIA CUDA development toolkit (GCC compatibility)
Description-md5: 3fb666316ef4562383ecd8260bc3bc9f