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

Last updated: May 21,2024

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

Please follow the instructions below to install gcc-9-offload-nvptx on Ubuntu 21.10 (Impish Indri)

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

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

Please follow the guidance below to uninstall gcc-9-offload-nvptx on Ubuntu 21.10 (Impish Indri):

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

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

Package: gcc-9-offload-nvptx
Architecture: amd64
Version: 9.4.0-3ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 50096
Depends: gcc-9-base (= 9.4.0-3ubuntu1), gcc-9 (= 9.4.0-3ubuntu1), libc6-dev (>= 2.13-0ubuntu6), nvptx-tools, libgomp-plugin-nvptx1 (>= 9.4.0-3ubuntu1), libc6 (>= 2.34), libgmp10 (>= 2:5.0.1~), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Filename: pool/universe/g/gcc-9/gcc-9-offload-nvptx_9.4.0-3ubuntu1_amd64.deb
Size: 8870804
MD5sum: 319f485c9b2abcad422e541211dcfb0d
SHA1: a20b98e92d48c033c49ee57f705f73c931d32a89
SHA256: 2bb47b860b57b8975576b28067b48d13021b32f16cf57c9d3d0fd0cfb7b2d867
SHA512: 38515f667197af4f774d086a1a167e4390f00652bbf3004254093370ab19406c8a7b2ad8d8029e7f0744ee49c10a3f1d278e51d12dc9db8c298844cd0813d50f
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