How to Install and Uninstall gcc-10 Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 25,2024

1. Install "gcc-10" package

Please follow the instructions below to install gcc-10 on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install gcc-10

2. Uninstall "gcc-10" package

This guide let you learn how to uninstall gcc-10 on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the gcc-10 package on Ubuntu 20.10 (Groovy Gorilla)

Package: gcc-10
Architecture: amd64
Version: 10.2.0-13ubuntu1
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 58295
Provides: c-compiler
Depends: cpp-10 (= 10.2.0-13ubuntu1), gcc-10-base (= 10.2.0-13ubuntu1), libcc1-0 (>= 10.2.0-13ubuntu1), binutils (>= 2.35.1), libgcc-10-dev (= 10.2.0-13ubuntu1), libc6 (>= 2.15), libgcc-s1 (>= 3.0), libgmp10 (>= 2:5.0.1~), libisl22 (>= 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.2.0-13ubuntu1_amd64.deb
Size: 16340248
MD5sum: 71483f011c1422be60dded00af10d08f
SHA1: c4e05187a2762cc409a82d836e3069e93ce1fa91
SHA256: e375ea4da0038d89cc54205e542b647b3b8cfb5e553762be70ab687e5b5cb89e
SHA512: 62a47d3ac4100fde3dfcf9abada2bf48c783c37445689214d402261ef2a622f70931dfdadffdf24618e1df5ab62ac13158cc6279ec943fc32f254e9279455ff8
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: ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes