How to Install and Uninstall gcc Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 02,2024

1. Install "gcc" package

Please follow the steps below to install gcc on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install gcc

2. Uninstall "gcc" package

This is a short guide on how to uninstall gcc on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the gcc package on Ubuntu 23.10 (Mantic Minotaur)

Package: gcc
Architecture: amd64
Version: 4:13.2.0-1ubuntu1
Priority: optional
Section: devel
Source: gcc-defaults (1.208ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 53
Provides: c-compiler, gcc-x86-64-linux-gnu (= 4:13.2.0-1ubuntu1)
Depends: cpp (= 4:13.2.0-1ubuntu1), gcc-13 (>= 13.2.0-2~)
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)
Filename: pool/main/g/gcc-defaults/gcc_13.2.0-1ubuntu1_amd64.deb
Size: 5168
MD5sum: f9643bdcbe7f37be893d5aa716c204f2
SHA1: a09c2bbc177722885ce7aec190fc53eeb9397989
SHA256: 207178603597f01248303dfe397e3791ae1cef38cdc1bb522c3707b34e3e62f7
SHA512: 1c1fa2adfb083ff23f148ce74ab1392e76bd1398904247d82da25703993179d2f7607f6d961789fcb47ebcca2ed5229511f3dad7d20a44e1fc87bd269aeaec95
Description: GNU C compiler
Description-md5: c7efd71c7c651a9ac8b2adf36b137790
Task: ubuntustudio-audio, ubuntustudio-publishing, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-unity-desktop, edubuntu-desktop-gnome, ubuntucinnamon-desktop, ubuntucinnamon-desktop-raspi
Build-Essential: yes