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

Last updated: May 17,2024

1. Install "gcc-offload-nvptx" package

Learn how to install gcc-offload-nvptx on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "gcc-offload-nvptx" package

This guide let you learn how to uninstall gcc-offload-nvptx on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gcc-offload-nvptx
Architecture: amd64
Version: 4:10.3.0-1ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-defaults (1.190ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: cpp (>= 4:10.3.0-1ubuntu1), gcc (>= 4:10.3.0-1ubuntu1), gcc-10-offload-nvptx (>= 10.3.0-1~)
Filename: pool/universe/g/gcc-defaults/gcc-offload-nvptx_10.3.0-1ubuntu1_amd64.deb
Size: 1172
MD5sum: 629dfc83bc1f521e4188925ea1d2a254
SHA1: 60c11846b8c11bd5e8eb7e1f8dd1557ad2b701e5
SHA256: b8da1430a79423372ee6046571d2d81a312ee827aeb5e3de375823bcb12b904e
SHA512: c48bde4c7181d6ef515f5d2fa352aa9024dd22a25bd3eec92d2c8e6a9954b80705925a09310d1e3aae02fd48806b02cef6a30aeea8dff76e18fc2bf516e43f1c
Description-en: GCC offloading compiler to NVPTX
This package contains libgomp plugin for offloading to NVidia
PTX. The plugin needs libcuda.so.1 shared library that has to be
installed separately.
.
This is a dependency package providing the default Nvidia PTX compiler.
Description-md5: 9344a5c55068600b42013b1b2f47870b