How to Install and Uninstall gcc-8 Package on Linux Mint 20.3 (Una)

Last updated: May 15,2024

1. Install "gcc-8" package

This is a short guide on how to install gcc-8 on Linux Mint 20.3 (Una)

$ sudo apt update $ sudo apt install gcc-8

2. Uninstall "gcc-8" package

This tutorial shows how to uninstall gcc-8 on Linux Mint 20.3 (Una):

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

3. Information about the gcc-8 package on Linux Mint 20.3 (Una)

Package: gcc-8
Architecture: amd64
Version: 8.4.0-3ubuntu2
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: 29361
Provides: c-compiler
Depends: cpp-8 (= 8.4.0-3ubuntu2), gcc-8-base (= 8.4.0-3ubuntu2), libcc1-0 (>= 8.4.0-3ubuntu2), binutils (>= 2.34), libgcc-8-dev (= 8.4.0-3ubuntu2), 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-3ubuntu2)
Filename: pool/universe/g/gcc-8/gcc-8_8.4.0-3ubuntu2_amd64.deb
Size: 9833364
MD5sum: fc6785b73dd30895289cd0ec406b2366
SHA1: f3948993f219c5428e6f760f8ee2a6863f23ab22
SHA256: dde03b929f05f6e8318387bf5818877b1d972de7a697a000fa4c516af5e68d7f
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698