How to Install and Uninstall gcc-offload-nvptx Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "gcc-offload-nvptx" package

Please follow the step by step instructions below to install gcc-offload-nvptx on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "gcc-offload-nvptx" package

Please follow the guidelines below to uninstall gcc-offload-nvptx on Ubuntu 21.10 (Impish Indri):

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

3. Information about the gcc-offload-nvptx package on Ubuntu 21.10 (Impish Indri)

Package: gcc-offload-nvptx
Architecture: amd64
Version: 4:11.2.0-1ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-defaults (1.193ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: cpp (>= 4:11.2.0-1ubuntu1), gcc (>= 4:11.2.0-1ubuntu1), gcc-11-offload-nvptx (>= 11.2.0-1~)
Filename: pool/universe/g/gcc-defaults/gcc-offload-nvptx_11.2.0-1ubuntu1_amd64.deb
Size: 974
MD5sum: 64466840e246bd9745a991ada8cb849a
SHA1: 55bcd82a075f176fa702d0a160e0a42a97ff7ba9
SHA256: af527e9b1222c4ca077f69f1e665057e0fd68e7520eb36de0e634ead357ccb37
SHA512: 5c0246081fcd2fb88521c31dccb864a2ef18c12c58d174cf605d844308a858bc91641254e1b07ec3e40c1388bedfc3bd49486ce4df971e5987aa8b4fef47a28a
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