How to Install and Uninstall gcc-offload-nvptx Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 17,2024

1. Install "gcc-offload-nvptx" package

This tutorial shows how to install gcc-offload-nvptx on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "gcc-offload-nvptx" package

Please follow the instructions below to uninstall gcc-offload-nvptx on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the gcc-offload-nvptx package on Ubuntu 20.10 (Groovy Gorilla)

Package: gcc-offload-nvptx
Architecture: amd64
Version: 4:10.2.0-1ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-defaults (1.189ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: cpp (>= 4:10.2.0-1ubuntu1), gcc (>= 4:10.2.0-1ubuntu1), gcc-10-offload-nvptx (>= 10.2.0-8~)
Filename: pool/universe/g/gcc-defaults/gcc-offload-nvptx_10.2.0-1ubuntu1_amd64.deb
Size: 1172
MD5sum: 9fdd28d01f6bdbacdc4c710fb738a8e0
SHA1: d91b84593490783e57d28434a8251980076224b0
SHA256: 36b3b980e4cbdb0e0fd005bbfdd1007383cca0c856edccc446237742cf006238
SHA512: 49adab723a0512bc39f4cba14ef9fc224b9483d624c389e42dd2a3075a96c9ce3aa8714be32e883c09dc0962da86298f293c60533dbdaf575610f82c744ca3e9
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