How to Install and Uninstall gcc-10-x86-64-linux-gnu Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 22,2024

1. Install "gcc-10-x86-64-linux-gnu" package

This guide covers the steps necessary to install gcc-10-x86-64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install gcc-10-x86-64-linux-gnu

2. Uninstall "gcc-10-x86-64-linux-gnu" package

In this section, we are going to explain the necessary steps to uninstall gcc-10-x86-64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove gcc-10-x86-64-linux-gnu $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-10-x86-64-linux-gnu package on Ubuntu 20.04 LTS (Focal Fossa)

Package: gcc-10-x86-64-linux-gnu
Architecture: i386
Version: 10.3.0-1ubuntu1~20.04cross1
Built-Using: gcc-10 (= 10.3.0-1ubuntu1~20.04)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-10-cross (6ubuntu4)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 60631
Provides: c-compiler-x86-64-linux-gnu
Depends: cpp-10-x86-64-linux-gnu (= 10.3.0-1ubuntu1~20.04cross1), gcc-10-x86-64-linux-gnu-base (= 10.3.0-1ubuntu1~20.04cross1), libcc1-0 (>= 10), binutils-x86-64-linux-gnu (>= 2.34), libgcc-10-dev-amd64-cross (>= 10.3.0-1ubuntu1~20.04cross1), libc6 (>= 2.28), libgcc-s1 (>= 3.0), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), zlib1g (>= 1:1.2.3.3)
Recommends: libc6-dev-amd64-cross (>= 2.13-0ubuntu6)
Suggests: gcc-10-multilib-x86-64-linux-gnu, gcc-10-doc (>= 10), gcc-10-locales (>= 10)
Conflicts: gcc-multilib
Replaces: cpp-10-x86-64-linux-gnu (<< 7.1.1-8)
Filename: pool/universe/g/gcc-10-cross/gcc-10-x86-64-linux-gnu_10.3.0-1ubuntu1~20.04cross1_i386.deb
Size: 17186368
MD5sum: a5f1b948439408bb9f0c782128fc9a35
SHA1: 650923b1868c090708eaaa8211753ef96e2d6585
SHA256: ff845316fa141561cf092b94b04e98b3d18de62dd71d88c79772cc439eef12ac
SHA512: bd6927b0e09fb649a216231c1c31745ce63257d396cc955f4bb0a4072516f0b87472fffc3be39d426fb5a257721bc74f7c7dedb6abcffe1e4ee84dfeca2c2b5f
Homepage: http://gcc.gnu.org/
Description-en: GNU C compiler (cross compiler for amd64 architecture)
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This package contains C cross-compiler for amd64 architecture.
Description-md5: 27ad2535df4dd16de394d9e004be6da7

Package: gcc-10-x86-64-linux-gnu
Architecture: i386
Version: 10-20200411-0ubuntu1cross1
Built-Using: gcc-10 (= 10-20200411-0ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-10-cross (6ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 60326
Provides: c-compiler-x86-64-linux-gnu
Depends: cpp-10-x86-64-linux-gnu (= 10-20200411-0ubuntu1cross1), gcc-10-x86-64-linux-gnu-base (= 10-20200411-0ubuntu1cross1), libcc1-0 (>= 10), binutils-x86-64-linux-gnu (>= 2.34), libgcc-10-dev-amd64-cross (>= 10-20200411-0ubuntu1cross1), libc6 (>= 2.28), libgcc-s1 (>= 3.0), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), zlib1g (>= 1:1.2.3.3)
Recommends: libc6-dev-amd64-cross (>= 2.13-0ubuntu6)
Suggests: gcc-10-multilib-x86-64-linux-gnu, gcc-10-doc (>= 10), gcc-10-locales (>= 10)
Conflicts: gcc-multilib
Replaces: cpp-10-x86-64-linux-gnu (<< 7.1.1-8)
Filename: pool/universe/g/gcc-10-cross/gcc-10-x86-64-linux-gnu_10-20200411-0ubuntu1cross1_i386.deb
Size: 17048240
MD5sum: 676659d8c9fa3c52b11925c1ab961ad4
SHA1: 4900f3686c2339ea8498c2c391e22373e8ce4f8b
SHA256: 099bebeb2291b44f727c250ca895af0e39f24a031e94e30c719885900ae7cf01
Homepage: http://gcc.gnu.org/
Description-en: GNU C compiler (cross compiler for amd64 architecture)
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This package contains C cross-compiler for amd64 architecture.
Description-md5: 27ad2535df4dd16de394d9e004be6da7