How to Install and Uninstall gcc-10 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: April 30,2024

1. Install "gcc-10" package

Learn how to install gcc-10 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gcc-10

2. Uninstall "gcc-10" package

Please follow the step by step instructions below to uninstall gcc-10 on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the gcc-10 package on Ubuntu 21.04 (Hirsute Hippo)

Package: gcc-10
Architecture: amd64
Version: 10.3.0-1ubuntu1
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52127
Provides: c-compiler
Depends: cpp-10 (= 10.3.0-1ubuntu1), gcc-10-base (= 10.3.0-1ubuntu1), libcc1-0 (>= 10.3.0-1ubuntu1), binutils (>= 2.36.1), libgcc-10-dev (= 10.3.0-1ubuntu1), libc6 (>= 2.33), 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.3.2), 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/main/g/gcc-10/gcc-10_10.3.0-1ubuntu1_amd64.deb
Size: 17504392
MD5sum: 4e0a69ce8a70e1c5a936750037a07ef6
SHA1: 63b8835108a19e4195331cad40bc887da448563e
SHA256: 3943f4a66d2d7b3ffb74bbbcf03bd9e009c99836092d00c0ab79f7239c647265
SHA512: 18b35f26ae390921c7a17e0e916a1c8d728fc713cbc0f8b08f971d59568ec20840d8f168c9e417f2fd66de4bfe27614798b7c44963266f557b40022901ae9ba1
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
Task: ubuntustudio-video, ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes