How to Install and Uninstall gcc-11-offload-nvptx Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "gcc-11-offload-nvptx" package

In this section, we are going to explain the necessary steps to install gcc-11-offload-nvptx on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install gcc-11-offload-nvptx

2. Uninstall "gcc-11-offload-nvptx" package

This is a short guide on how to uninstall gcc-11-offload-nvptx on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove gcc-11-offload-nvptx $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-11-offload-nvptx package on Ubuntu 21.10 (Impish Indri)

Package: gcc-11-offload-nvptx
Architecture: amd64
Version: 11.2.0-7ubuntu2
Priority: optional
Section: universe/devel
Source: gcc-11
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 171891
Depends: gcc-11-base (= 11.2.0-7ubuntu2), gcc-11 (= 11.2.0-7ubuntu2), libc6-dev (>= 2.13-0ubuntu6), nvptx-tools, libgomp-plugin-nvptx1 (>= 11.2.0-7ubuntu2), libc6 (>= 2.34), libgmp10 (>= 2:5.0.1~), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Filename: pool/universe/g/gcc-11/gcc-11-offload-nvptx_11.2.0-7ubuntu2_amd64.deb
Size: 50612512
MD5sum: 59d0a83f5594dd7c617f77535626d0bb
SHA1: 727296aafd2e7f045a3f9040eb4945e9e38511d3
SHA256: 5df6fa9076a45837509c2dfcac4795e6fb0a70b6f146b07f57af85b5a642b8f2
SHA512: de186f2cdc846ebf3b1fd5e9c57bae24efe8d4f9e86c6f8d3b299e483d9015e73a1a5eda40e42be59b11ba9547a3959cdc90dec58e6dafdbdeb05f457b2b235e
Homepage: http://gcc.gnu.org/
Description-en: GCC offloading compiler to NVPTX
The package provides offloading support for NVidia PTX. OpenMP and OpenACC
programs linked with -fopenmp will by default add PTX code into the binaries,
which can be offloaded to NVidia PTX capable devices if available.
Description-md5: 3c146096ed88f2f061e433f8b7d0e37c