How to Install and Uninstall gcc Package on Debian 11 (Bullseye)

Last updated: December 28,2024

1. Install "gcc" package

This guide let you learn how to install gcc on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install gcc

2. Uninstall "gcc" package

Please follow the step by step instructions below to uninstall gcc on Debian 11 (Bullseye):

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

3. Information about the gcc package on Debian 11 (Bullseye)

Package: gcc
Source: gcc-defaults (1.190)
Version: 4:10.2.1-1
Installed-Size: 45
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c-compiler, gcc-x86-64-linux-gnu (= 4:10.2.1-1)
Depends: cpp (= 4:10.2.1-1), gcc-10 (>= 10.2.1-3~)
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_10.2.1-1_amd64.deb
Size: 5192
MD5sum: 1f94d2bee2b90465c67f77efd87c56de
SHA256: ad255447cc1b46f378c6dd483148f59c73ca8d7201df4a0681323f71e910d823