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

Last updated: November 07,2024

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

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

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

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

Learn how to uninstall gcc-10-offload-nvptx on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gcc-10-offload-nvptx
Architecture: amd64
Version: 10.3.0-1ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-10
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52800
Depends: gcc-10-base (= 10.3.0-1ubuntu1), gcc-10 (= 10.3.0-1ubuntu1), libc6-dev (>= 2.13-0ubuntu6), nvptx-tools, libgomp-plugin-nvptx1 (>= 10.3.0-1ubuntu1), libc6 (>= 2.33), libgmp10 (>= 2:5.0.1~), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4)
Filename: pool/universe/g/gcc-10/gcc-10-offload-nvptx_10.3.0-1ubuntu1_amd64.deb
Size: 9002428
MD5sum: fe72912865ff1506000159ed27eb4bd1
SHA1: f8e46ec23703da2dfe8a7819c4b85a03f0b7f424
SHA256: b58182627214c60d5ccb86884ca5eedc40c228474ab434fcd543c1f1c415ce98
SHA512: 14f05d4dcac19b830c91a169863ac412ae1c2a4004e28ace18eacd7346017d3b6059cf3a7c318e02d1d5f6214e2a3c3f5630ec0aef2481ff54dd5d3348202b7b
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