How to Install and Uninstall gcc-9 Package on Linux Mint 20.3 (Una)

Last updated: May 20,2024

1. Install "gcc-9" package

Please follow the guidance below to install gcc-9 on Linux Mint 20.3 (Una)

$ sudo apt update $ sudo apt install gcc-9

2. Uninstall "gcc-9" package

In this section, we are going to explain the necessary steps to uninstall gcc-9 on Linux Mint 20.3 (Una):

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

3. Information about the gcc-9 package on Linux Mint 20.3 (Una)

Package: gcc-9
Architecture: amd64
Version: 9.4.0-1ubuntu1~20.04.1
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29840
Provides: c-compiler
Depends: cpp-9 (= 9.4.0-1ubuntu1~20.04.1), gcc-9-base (= 9.4.0-1ubuntu1~20.04.1), libcc1-0 (>= 9.4.0-1ubuntu1~20.04.1), binutils (>= 2.34), libgcc-9-dev (= 9.4.0-1ubuntu1~20.04.1), libc6 (>= 2.15), libgcc-s1 (>= 3.0), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-9-multilib, gcc-9-doc (>= 8), gcc-9-locales (>= 8)
Replaces: cpp-9 (<< 7.1.1-8)
Filename: pool/main/g/gcc-9/gcc-9_9.4.0-1ubuntu1~20.04.1_amd64.deb
Size: 8273704
MD5sum: 6bdd833d8c532d0cd7faced0439e92f6
SHA1: 3bc7af06f0dd11ac1245911ba52868f69f01f38e
SHA256: f2c456cd79618795fbb2ebb5748e3f9b6aada8e7795462d217b2abafe3eeaa90
SHA512: 3326bb5bfc669057c5af09dd81e8c7b42a64dfd03fd947a2ffbf7f4cc69f05da1b4bf54dcf149fa2e570ecf270d7d3fea38446655470aa290e695ff923bafc40
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698
Task: ubuntustudio-video, ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes

Package: gcc-9
Architecture: amd64
Version: 9.3.0-10ubuntu2
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29783
Provides: c-compiler
Depends: cpp-9 (= 9.3.0-10ubuntu2), gcc-9-base (= 9.3.0-10ubuntu2), libcc1-0 (>= 9.3.0-10ubuntu2), binutils (>= 2.34), libgcc-9-dev (= 9.3.0-10ubuntu2), libc6 (>= 2.15), libgcc-s1 (>= 3.0), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-9-multilib, gcc-9-doc (>= 8), gcc-9-locales (>= 8)
Replaces: cpp-9 (<< 7.1.1-8)
Filename: pool/main/g/gcc-9/gcc-9_9.3.0-10ubuntu2_amd64.deb
Size: 8233992
MD5sum: f910c40fb004188a62caedc9fe5e9688
SHA1: ff54dd9e794015345a11bb001249c9db622373e2
SHA256: 22f0282dc1549a4f5715b94e9c71ed0e96c400d522ec15453e1a8000d45ea8d7
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698
Task: ubuntustudio-video, ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes