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

Last updated: December 27,2024

1. Install "gcc" package

Please follow the steps below to install gcc on Debian 10 (Buster)

$ sudo apt update $ sudo apt install gcc

2. Uninstall "gcc" package

Here is a brief guide to show you how to uninstall gcc on Debian 10 (Buster):

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

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

Package: gcc
Source: gcc-defaults (1.181)
Version: 4:8.3.0-1
Installed-Size: 45
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c-compiler, gcc-x86-64-linux-gnu (= 4:8.3.0-1)
Depends: cpp (= 4:8.3.0-1), gcc-8 (>= 8.3.0-1~)
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)
Description: GNU C compiler
Description-md5: c7efd71c7c651a9ac8b2adf36b137790
Build-Essential: yes
Tag: devel::compiler, devel::lang:c, devel::library, implemented-in::c,
interface::commandline, role::devel-lib, role::metapackage,
role::program, suite::gnu, works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults/gcc_8.3.0-1_amd64.deb
Size: 5196
MD5sum: 807952da26a585c11952f99125be7d3a
SHA256: c472cc849c02f03522b44e12191b6dfde496afa2a53b862f9b913dc2ae218f70