How to Install and Uninstall gcc-10 Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "gcc-10" package

Please follow the guidelines below to install gcc-10 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install gcc-10

2. Uninstall "gcc-10" package

Please follow the guidelines below to uninstall gcc-10 on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove gcc-10 $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-10 package on Ubuntu 21.10 (Impish Indri)

Package: gcc-10
Architecture: amd64
Version: 10.3.0-11ubuntu1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52220
Provides: c-compiler
Depends: cpp-10 (= 10.3.0-11ubuntu1), gcc-10-base (= 10.3.0-11ubuntu1), libcc1-0 (>= 10.3.0-11ubuntu1), binutils (>= 2.37), libgcc-10-dev (= 10.3.0-11ubuntu1), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgmp10 (>= 2:5.0.1~), 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 (>= 2.13-0ubuntu6)
Suggests: gcc-10-multilib, gcc-10-doc (>= 10), gcc-10-locales (>= 10)
Replaces: cpp-10 (<< 7.1.1-8)
Filename: pool/universe/g/gcc-10/gcc-10_10.3.0-11ubuntu1_amd64.deb
Size: 18952344
MD5sum: ec326527071743ddfe92aff17b22745d
SHA1: d723a38b423a522b654bea479841d14612d006b7
SHA256: 708c03dc758501b3ab2e2de89c40393649bfe01e135612818031e08183385c96
SHA512: 7cc031c2b34dd8c868269eeb5609ee13eaf852ea26a9952c02a789a246f13fa6f53be3af04248c42be86605b0809e2c3cd7b237af3c2e08c3fe004a8518a6994
Homepage: http://gcc.gnu.org/
Description-en: GNU C compiler
This is the GNU C compiler, a fairly portable optimizing compiler for C.
Description-md5: 394374e688b1afb3af5f419895d29698