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

Last updated: September 20,2024

1. Install "gcc-8" package

This tutorial shows how to install gcc-8 on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install gcc-8

2. Uninstall "gcc-8" package

Here is a brief guide to show you how to uninstall gcc-8 on Ubuntu 20.10 (Groovy Gorilla):

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

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

Package: gcc-8
Architecture: amd64
Version: 8.4.0-4ubuntu1
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: 29325
Provides: c-compiler
Depends: cpp-8 (= 8.4.0-4ubuntu1), gcc-8-base (= 8.4.0-4ubuntu1), libcc1-0 (>= 8.4.0-4ubuntu1), binutils (>= 2.34), libgcc-8-dev (= 8.4.0-4ubuntu1), libc6 (>= 2.15), libgcc-s1 (>= 3.0), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-8-multilib, gcc-8-doc (>= 8), gcc-8-locales (>= 8)
Replaces: cpp-8 (<< 7.1.1-8), gccgo-8 (<< 8.4.0-4ubuntu1)
Filename: pool/universe/g/gcc-8/gcc-8_8.4.0-4ubuntu1_amd64.deb
Size: 9823364
MD5sum: 428b63444f3c67b28d543c4aa1b7a79e
SHA1: 424ebdcc3801dbc5435b5bccdbc90b93e1ad6879
SHA256: d22e229926b7bfa6c6142954373cd0a8fc275acaf8c41a02db8f34bb9063bf62
SHA512: 01abae0b004fd72fbea7bc78125a9ca57a05e6e5302f18405bcb1570a2a2d9788907e1eb85659493c3cf4bc04b5d9f0f540ed1fb98772ffbdec00883ff693bc3
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