How to Install and Uninstall gcc-8 Package on Debian 10 (Buster)

Last updated: November 26,2024

1. Install "gcc-8" package

In this section, we are going to explain the necessary steps to install gcc-8 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install gcc-8

2. Uninstall "gcc-8" package

In this section, we are going to explain the necessary steps to uninstall gcc-8 on Debian 10 (Buster):

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

3. Information about the gcc-8 package on Debian 10 (Buster)

Package: gcc-8
Version: 8.3.0-6
Installed-Size: 28808
Maintainer: Debian GCC Maintainers
Architecture: amd64
Replaces: cpp-8 (<< 7.1.1-8), gccgo-8 (<< 8.3.0-6)
Provides: c-compiler
Depends: cpp-8 (= 8.3.0-6), gcc-8-base (= 8.3.0-6), libcc1-0 (>= 8.3.0-6), binutils (>= 2.31.1), libgcc-8-dev (= 8.3.0-6), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libgmp10 (>= 2:5.0.1~), libisl19 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-5)
Suggests: gcc-8-multilib, gcc-8-doc (>= 8), gcc-8-locales (>= 8), libgcc1-dbg (>= 1:8.3.0-6), libgomp1-dbg (>= 8.3.0-6), libitm1-dbg (>= 8.3.0-6), libatomic1-dbg (>= 8.3.0-6), libasan5-dbg (>= 8.3.0-6), liblsan0-dbg (>= 8.3.0-6), libtsan0-dbg (>= 8.3.0-6), libubsan1-dbg (>= 8.3.0-6), libmpx2-dbg (>= 8.3.0-6), libquadmath0-dbg (>= 8.3.0-6)
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-8/gcc-8_8.3.0-6_amd64.deb
Size: 9452500
MD5sum: f6a72314b06631184a5913e03968e32e
SHA256: 05e90f94363055cf27cd88b7968820645180d37a649a93cf5d7ea6f3c7fe973e