How to Install and Uninstall gcc-9 Package on Linux Mint 21.3 (Virginia)
Last updated: November 25,2024
1. Install "gcc-9" package
This tutorial shows how to install gcc-9 on Linux Mint 21.3 (Virginia)
$
sudo apt update
Copied
$
sudo apt install
gcc-9
Copied
2. Uninstall "gcc-9" package
Learn how to uninstall gcc-9 on Linux Mint 21.3 (Virginia):
$
sudo apt remove
gcc-9
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the gcc-9 package on Linux Mint 21.3 (Virginia)
Package: gcc-9
Architecture: amd64
Version: 9.5.0-1ubuntu1~22.04
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29899
Provides: c-compiler
Depends: cpp-9 (= 9.5.0-1ubuntu1~22.04), gcc-9-base (= 9.5.0-1ubuntu1~22.04), libcc1-0 (>= 9.5.0-1ubuntu1~22.04), binutils (>= 2.38), libgcc-9-dev (= 9.5.0-1ubuntu1~22.04), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), 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/universe/g/gcc-9/gcc-9_9.5.0-1ubuntu1~22.04_amd64.deb
Size: 11257590
MD5sum: 929da2ba90564bd5535c81b55b3d9ade
SHA1: 5234c8ff1ee9d775bac3cfc8c52c06f54b179fb8
SHA256: ad2ea33ba8084f100b089bf75941e0159673cc677188a0ee1b757541e3694558
SHA512: 5b7eddebfed59529e77299a29be0f409acb6f42258a94e8b099b9c6178e3dee7ae53409e28f479dbf2bad7da08a3804f19b885d769f61c9b38cf901ae28be872
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698
Package: gcc-9
Architecture: amd64
Version: 9.4.0-5ubuntu1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29889
Provides: c-compiler
Depends: cpp-9 (= 9.4.0-5ubuntu1), gcc-9-base (= 9.4.0-5ubuntu1), libcc1-0 (>= 9.4.0-5ubuntu1), binutils (>= 2.37.90.20220130), libgcc-9-dev (= 9.4.0-5ubuntu1), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), 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/universe/g/gcc-9/gcc-9_9.4.0-5ubuntu1_amd64.deb
Size: 8963382
MD5sum: 5e26fcd43e0bfb29a69431d593402e90
SHA1: 07daa14ebe8dc1cb8ddbb3b21c5e18a714f2d1c0
SHA256: 1fb78a8bcb4a18f204fbb395519327a55e1890267d059611f9750e9b25125657
SHA512: c1fbb7f55ab8cce404d2bb8d3e9ff6b347ace0c02b6cb4eb7724ce08f4f85d3a7f601c5826f2689c633e42608a1f666c6483af79580f7006b6b6885edf1ce412
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698
Architecture: amd64
Version: 9.5.0-1ubuntu1~22.04
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29899
Provides: c-compiler
Depends: cpp-9 (= 9.5.0-1ubuntu1~22.04), gcc-9-base (= 9.5.0-1ubuntu1~22.04), libcc1-0 (>= 9.5.0-1ubuntu1~22.04), binutils (>= 2.38), libgcc-9-dev (= 9.5.0-1ubuntu1~22.04), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), 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/universe/g/gcc-9/gcc-9_9.5.0-1ubuntu1~22.04_amd64.deb
Size: 11257590
MD5sum: 929da2ba90564bd5535c81b55b3d9ade
SHA1: 5234c8ff1ee9d775bac3cfc8c52c06f54b179fb8
SHA256: ad2ea33ba8084f100b089bf75941e0159673cc677188a0ee1b757541e3694558
SHA512: 5b7eddebfed59529e77299a29be0f409acb6f42258a94e8b099b9c6178e3dee7ae53409e28f479dbf2bad7da08a3804f19b885d769f61c9b38cf901ae28be872
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698
Package: gcc-9
Architecture: amd64
Version: 9.4.0-5ubuntu1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29889
Provides: c-compiler
Depends: cpp-9 (= 9.4.0-5ubuntu1), gcc-9-base (= 9.4.0-5ubuntu1), libcc1-0 (>= 9.4.0-5ubuntu1), binutils (>= 2.37.90.20220130), libgcc-9-dev (= 9.4.0-5ubuntu1), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), 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/universe/g/gcc-9/gcc-9_9.4.0-5ubuntu1_amd64.deb
Size: 8963382
MD5sum: 5e26fcd43e0bfb29a69431d593402e90
SHA1: 07daa14ebe8dc1cb8ddbb3b21c5e18a714f2d1c0
SHA256: 1fb78a8bcb4a18f204fbb395519327a55e1890267d059611f9750e9b25125657
SHA512: c1fbb7f55ab8cce404d2bb8d3e9ff6b347ace0c02b6cb4eb7724ce08f4f85d3a7f601c5826f2689c633e42608a1f666c6483af79580f7006b6b6885edf1ce412
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698