How to Install and Uninstall gcc-8-offload-nvptx Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 25,2024

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

Please follow the instructions below to install gcc-8-offload-nvptx on Ubuntu 21.04 (Hirsute Hippo)

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

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

Please follow the instructions below to uninstall gcc-8-offload-nvptx on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the gcc-8-offload-nvptx package on Ubuntu 21.04 (Hirsute Hippo)

Package: gcc-8-offload-nvptx
Architecture: amd64
Version: 8.4.0-7ubuntu3
Priority: optional
Section: universe/devel
Source: gcc-8
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 46349
Depends: gcc-8-base (= 8.4.0-7ubuntu3), gcc-8 (= 8.4.0-7ubuntu3), libc6-dev (>= 2.13-0ubuntu6), nvptx-tools, libgomp-plugin-nvptx1 (>= 8.4.0-7ubuntu3), libc6 (>= 2.33), libgcc-s1 (>= 4.2), libgmp10 (>= 2:5.0.1~), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4)
Filename: pool/universe/g/gcc-8/gcc-8-offload-nvptx_8.4.0-7ubuntu3_amd64.deb
Size: 7699892
MD5sum: d1ee466057c35218fcb93fe4022f6a11
SHA1: 850e49fddb7bcd16bc37e8a7a1651d3243a2c1e7
SHA256: 8300d72d1f89dd64995c0724f858978c617c8d9af3a99159456b6ae81d6bc508
SHA512: e7134f425ec6d5e16820402bd4667272a816ca1b712b79c3a02d05947cad61e37aeab58ef57215017fcbcc28d76c12f423e63acc447b9436b5085917a2a8ebb9
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