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

Last updated: December 23,2024

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

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

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

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

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

$ 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.04 (Hirsute Hippo)

Package: gcc-9-offload-nvptx
Architecture: amd64
Version: 9.3.0-23ubuntu2
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: 50067
Depends: gcc-9-base (= 9.3.0-23ubuntu2), gcc-9 (= 9.3.0-23ubuntu2), libc6-dev (>= 2.13-0ubuntu6), nvptx-tools, libgomp-plugin-nvptx1 (>= 9.3.0-23ubuntu2), libc6 (>= 2.33), 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.3.0-23ubuntu2_amd64.deb
Size: 8397924
MD5sum: 26d2abd87b062e7b8e0e59f50e2750cb
SHA1: 63b9a4960cec66550b8fa3666825243bf74f2068
SHA256: 94779c235b42a999721b846e7f0f0f0b713a1e18523e079145632e3403c5c4b6
SHA512: 0bcc3a1fb1720249c5f42a3adef7a93efd25b0d2001e401d91208f8459dcca0f4b62a01612a0e1b2697490476f584d954d8db4c0cca8be9ef4a6b7b36e671f5d
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