How to Install and Uninstall nvidia-cuda-toolkit-gcc Package on Kali Linux

Last updated: December 13,2024

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

In this section, we are going to explain the necessary steps to install nvidia-cuda-toolkit-gcc on Kali Linux

$ 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 Kali Linux:

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

3. Information about the nvidia-cuda-toolkit-gcc package on Kali Linux

Package: nvidia-cuda-toolkit-gcc
Source: nvidia-cuda-toolkit
Version: 12.0.1-4
Installed-Size: 87
Maintainer: Debian NVIDIA Maintainers
Architecture: amd64
Depends: g++-12, nvidia-cuda-toolkit (= 12.0.140~12.0.1-4)
Size: 23516
SHA256: f1b33a4cedca8e779bf04b783343a494dbf68d8774dbd5dd77d9b8ef55e03fb3
SHA1: d235ea37b44b82a860310480553aa117f611ca0a
MD5sum: dd66a99698576a9a57977268847b612b
Description: 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.
.
This package ensures a deterministic nvcc/gcc combination is used by default
and is therefore recommended to be used as build dependency for all source
packages needing nvcc for building.
Description-md5:
Homepage: https://developer.nvidia.com/cuda-zone
Section: non-free/devel
Priority: optional
Filename: pool/non-free/n/nvidia-cuda-toolkit/nvidia-cuda-toolkit-gcc_12.0.1-4_amd64.deb