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

Last updated: November 26,2024

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

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

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

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

Here is a brief guide to show you how to uninstall gcc-7-offload-nvptx on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gcc-7-offload-nvptx
Architecture: amd64
Version: 7.5.0-6ubuntu4
Priority: optional
Section: universe/devel
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37913
Depends: gcc-7-base (= 7.5.0-6ubuntu4), gcc-7 (= 7.5.0-6ubuntu4), libc6-dev (>= 2.13-0ubuntu6), nvptx-tools, libgomp-plugin-nvptx1 (>= 7.5.0-6ubuntu4), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Filename: pool/universe/g/gcc-7/gcc-7-offload-nvptx_7.5.0-6ubuntu4_amd64.deb
Size: 7016764
MD5sum: 7c10d731af481b6b873cd8adc8dd69b5
SHA1: 0874c8ab9b96d99a71ec132aa7fad2290471d504
SHA256: e0249e4b16f9055ff297bc8a076fb822dc92c496a149b3c8ab8ced9b07d2c219
SHA512: 1207c07bb39524655df9e8c2ef2062b2a8c3f9cd33bd133293e2d2ddeda424a023bcaa8dff3d94a3a14c1a3990cf58f4f4459965210116cfac27d4a60d7f24f6
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