How to Install and Uninstall gcc-12-aarch64-linux-gnu Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 23,2024

1. Install "gcc-12-aarch64-linux-gnu" package

Here is a brief guide to show you how to install gcc-12-aarch64-linux-gnu on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install gcc-12-aarch64-linux-gnu

2. Uninstall "gcc-12-aarch64-linux-gnu" package

Please follow the instructions below to uninstall gcc-12-aarch64-linux-gnu on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove gcc-12-aarch64-linux-gnu $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-12-aarch64-linux-gnu package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: gcc-12-aarch64-linux-gnu
Architecture: amd64
Version: 12.3.0-1ubuntu1~22.04cross1
Built-Using: gcc-12 (= 12.3.0-1ubuntu1~22.04)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-12-cross (5ubuntu2.4)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 62538
Provides: c-compiler-aarch64-linux-gnu
Depends: cpp-12-aarch64-linux-gnu (= 12.3.0-1ubuntu1~22.04cross1), gcc-12-aarch64-linux-gnu-base (= 12.3.0-1ubuntu1~22.04cross1), libcc1-0 (>= 12), binutils-aarch64-linux-gnu (>= 2.38), libgcc-12-dev-arm64-cross (>= 12.3.0-1ubuntu1~22.04cross1), libc6 (>= 2.35), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev-arm64-cross (>= 2.13-0ubuntu6)
Suggests: gcc-12-doc (>= 12), gcc-12-locales (>= 12)
Conflicts: gcc-multilib
Replaces: cpp-12-aarch64-linux-gnu (<< 7.1.1-8)
Filename: pool/universe/g/gcc-12-cross/gcc-12-aarch64-linux-gnu_12.3.0-1ubuntu1~22.04cross1_amd64.deb
Size: 20177638
MD5sum: 61194980ac234d440a50201075c50ad7
SHA1: 0a3a2e1dcf7b4da16aa0ff1efdf16f1d600fa301
SHA256: 13a3c549ca925951109d05b2d82829201dbdbdeeca457143f06767eeedefc8d2
SHA512: 3f852616bd137f57586415216ea098eddb175653daf3f5afd14c27e24544055fe2bfe6ae496f285aeee4b3da00840e1f7ccfe5110cc8542a41d9dd3b34e9e213
Homepage: http://gcc.gnu.org/
Description: GNU C compiler (cross compiler for arm64 architecture)
Description-md5: 6605467979c7b4a27b8a1c6ed7aabd06

Package: gcc-12-aarch64-linux-gnu
Architecture: amd64
Version: 12-20220222-1ubuntu1cross1
Built-Using: gcc-12 (= 12-20220222-1ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-12-cross (5ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 221673
Provides: c-compiler-aarch64-linux-gnu
Depends: cpp-12-aarch64-linux-gnu (= 12-20220222-1ubuntu1cross1), gcc-12-aarch64-linux-gnu-base (= 12-20220222-1ubuntu1cross1), libcc1-0 (>= 12), binutils-aarch64-linux-gnu (>= 2.38), libgcc-12-dev-arm64-cross (>= 12-20220222-1ubuntu1cross1), libc6 (>= 2.35), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev-arm64-cross (>= 2.13-0ubuntu6)
Suggests: gcc-12-doc (>= 12), gcc-12-locales (>= 12)
Conflicts: gcc-multilib
Replaces: cpp-12-aarch64-linux-gnu (<< 7.1.1-8)
Filename: pool/universe/g/gcc-12-cross/gcc-12-aarch64-linux-gnu_12-20220222-1ubuntu1cross1_amd64.deb
Size: 71602648
MD5sum: ade18bb3335eccf11e80d21c8b98cc47
SHA1: 351d9c4eda2ea00e3b5fa62e512f190f9ab096ac
SHA256: 15dae625fc8727a8d733f6bfad7ca902d43c76031d49c4a05399db943df4f48d
SHA512: d8d66b56a20ebbd2499a2b7cbcc15d2203a39889bdb6b40075adb4b3b172ea0ef8544c432bc9d832f63889f0c9a29f92f7d404fdbf30c1c1af7cbe2b0b459099
Homepage: http://gcc.gnu.org/
Description: GNU C compiler (cross compiler for arm64 architecture)
Description-md5: 6605467979c7b4a27b8a1c6ed7aabd06