How to Install and Uninstall gcc-offload-nvptx Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "gcc-offload-nvptx" package

This tutorial shows how to install gcc-offload-nvptx on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "gcc-offload-nvptx" package

Please follow the step by step instructions below to uninstall gcc-offload-nvptx on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the gcc-offload-nvptx package on Ubuntu 20.04 LTS (Focal Fossa)

Package: gcc-offload-nvptx
Architecture: amd64
Version: 4:9.3.0-1ubuntu2
Priority: optional
Section: universe/devel
Source: gcc-defaults (1.185.1ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: cpp (>= 4:9.3.0-1ubuntu2), gcc (>= 4:9.3.0-1ubuntu2), gcc-9-offload-nvptx (>= 9.3.0-3~)
Filename: pool/universe/g/gcc-defaults/gcc-offload-nvptx_9.3.0-1ubuntu2_amd64.deb
Size: 1172
MD5sum: 050b8a1a26bb5246f9539658b0fd7f46
SHA1: efa29fa60cebcbab724b8d9fb41cd6dd8a7fb09d
SHA256: 017ff8caa3081a869d92f9a457e2a7d0fc8070b78e8ce285572c1901004ff530
Description: GCC offloading compiler to NVPTX
Description-md5: c1a31b9ac549c15ced65477b36aa4639