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

Last updated: May 02,2024

1. Install "gcc" package

Learn how to install gcc on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install gcc

2. Uninstall "gcc" package

This is a short guide on how to uninstall gcc on Ubuntu 20.10 (Groovy Gorilla):

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

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

Package: gcc
Architecture: amd64
Version: 4:10.2.0-1ubuntu1
Priority: optional
Section: devel
Source: gcc-defaults (1.189ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 50
Provides: c-compiler, gcc-x86-64-linux-gnu (= 4:10.2.0-1ubuntu1)
Depends: cpp (= 4:10.2.0-1ubuntu1), gcc-10 (>= 10.2.0-8~)
Recommends: libc6-dev | libc-dev
Suggests: gcc-multilib, make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb, gcc-doc
Conflicts: gcc-doc (<< 1:2.95.3)
Filename: pool/main/g/gcc-defaults/gcc_10.2.0-1ubuntu1_amd64.deb
Size: 5208
MD5sum: a46aca38a33821ed1c8fd9ffba9a1032
SHA1: 29308af61ab7a405adf06d8abc79719a915b04c9
SHA256: c94df48559f653156382e5dbd3878dae2783d05bac0a6cc43d419b58a16e4754
SHA512: dd205251c7357bb933835fd0bc60ba425d42fcfe36f2b5f5588ada672058b21fa62e40e0404d657cd1a0cbb5408216e835ce7da71b6ef0ec1df663c7b0ad53dd
Description-en: GNU C compiler
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This is a dependency package providing the default GNU C compiler.
Description-md5: c7efd71c7c651a9ac8b2adf36b137790
Task: ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes