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

Last updated: May 11,2024

1. Install "gcc-13" package

This tutorial shows how to install gcc-13 on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install gcc-13

2. Uninstall "gcc-13" package

Please follow the guidelines below to uninstall gcc-13 on Ubuntu 23.10 (Mantic Minotaur):

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

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

Package: gcc-13
Architecture: amd64
Version: 13.2.0-4ubuntu3
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 61723
Provides: c-compiler
Depends: cpp-13 (= 13.2.0-4ubuntu3), gcc-13-base (= 13.2.0-4ubuntu3), libcc1-0 (>= 13.2.0-4ubuntu3), binutils (>= 2.41), libgcc-13-dev (= 13.2.0-4ubuntu3), libc6 (>= 2.38), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.3.0+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-13-multilib, gcc-13-doc (>= 13), gcc-13-locales (>= 13)
Replaces: cpp-13 (<< 7.1.1-8)
Filename: pool/main/g/gcc-13/gcc-13_13.2.0-4ubuntu3_amd64.deb
Size: 21490194
MD5sum: 2caeccff2227e5372e50454bf09b932a
SHA1: 559b3d40dde870894cf8a7efb462a4ab682b7fb0
SHA256: 174f3cbc9232d50d2d066edc5da8d24a02a0001c9dadd6a7b378d537e9c398a1
SHA512: f30d5a5c858038ccd02799beea290423924ebb22c20051350ead9ccc8b5a4dfa77e679441af5cbd7d0fd63f25f9454e44bbe1842a3b054e94e05b381bce91e0b
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698
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