How to Install and Uninstall g++-aarch64-linux-gnu Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "g++-aarch64-linux-gnu" package

In this section, we are going to explain the necessary steps to install g++-aarch64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install g++-aarch64-linux-gnu

2. Uninstall "g++-aarch64-linux-gnu" package

Please follow the instructions below to uninstall g++-aarch64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove g++-aarch64-linux-gnu $ sudo apt autoclean && sudo apt autoremove

3. Information about the g++-aarch64-linux-gnu package on Ubuntu 20.04 LTS (Focal Fossa)

Package: g++-aarch64-linux-gnu
Architecture: amd64
Version: 4:9.3.0-1ubuntu2
Multi-Arch: foreign
Priority: optional
Section: 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-aarch64-linux-gnu (= 4:9.3.0-1ubuntu2), gcc-aarch64-linux-gnu (= 4:9.3.0-1ubuntu2), g++-9-aarch64-linux-gnu (>= 9.3.0-3~)
Filename: pool/main/g/gcc-defaults/g++-aarch64-linux-gnu_9.3.0-1ubuntu2_amd64.deb
Size: 1128
MD5sum: e890bd80ab8f8586456ead322599c084
SHA1: e3d7f3774949afec804325033b82ed043c4fa68f
SHA256: 73ed71eb84570ce3f8b3d2e5217866c31216fef73530de6c4e672884ef953881
Description: GNU C++ compiler for the arm64 architecture
Description-md5: 841ad5010180ab9999db8cd40c9e8de4