How to Install and Uninstall gcc-10 Package on Linux Mint 21.3 (Virginia)

Last updated: December 23,2024

1. Install "gcc-10" package

In this section, we are going to explain the necessary steps to install gcc-10 on Linux Mint 21.3 (Virginia)

$ sudo apt update $ sudo apt install gcc-10

2. Uninstall "gcc-10" package

This tutorial shows how to uninstall gcc-10 on Linux Mint 21.3 (Virginia):

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

3. Information about the gcc-10 package on Linux Mint 21.3 (Virginia)

Package: gcc-10
Architecture: amd64
Version: 10.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: 52609
Provides: c-compiler
Depends: cpp-10 (= 10.5.0-1ubuntu1~22.04), gcc-10-base (= 10.5.0-1ubuntu1~22.04), libcc1-0 (>= 10.5.0-1ubuntu1~22.04), binutils (>= 2.38), libgcc-10-dev (= 10.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), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-10-multilib, gcc-10-doc (>= 10), gcc-10-locales (>= 10)
Replaces: cpp-10 (<< 7.1.1-8)
Filename: pool/universe/g/gcc-10/gcc-10_10.5.0-1ubuntu1~22.04_amd64.deb
Size: 19072636
MD5sum: c2b5df22a264afc281443a695f403832
SHA1: a693dcbaf360eb26d61b3b5df97d976da77f467e
SHA256: a49f1633ddc64a9c7eb3fdb504a14715556ad30eefc348c4a876eaa1d3a229e0
SHA512: bf22e43157e261fec42d03112b8211d40176946b33ecb138ffd8eb5965c2fd648bf5bd9777c9287f618f1217f96ab650e6d377293e7075f41eb71565a7574de5
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698

Package: gcc-10
Architecture: amd64
Version: 10.3.0-15ubuntu1
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: 52212
Provides: c-compiler
Depends: cpp-10 (= 10.3.0-15ubuntu1), gcc-10-base (= 10.3.0-15ubuntu1), libcc1-0 (>= 10.3.0-15ubuntu1), binutils (>= 2.38), libgcc-10-dev (= 10.3.0-15ubuntu1), 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), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-10-multilib, gcc-10-doc (>= 10), gcc-10-locales (>= 10)
Replaces: cpp-10 (<< 7.1.1-8)
Filename: pool/universe/g/gcc-10/gcc-10_10.3.0-15ubuntu1_amd64.deb
Size: 18946130
MD5sum: d00d713ed3e03e067e33ced999874875
SHA1: 63996486de8223dc167f3c6d1d7376e770c82b6f
SHA256: 832ac751c372c4273538a3a01eb4ee6ccd23246886d10238f068ea274e4965f7
SHA512: fba1416627c5c84e4250523d927a5ecec113a895b8c22dc2e608b4895d80bb7676d29d074d0eb7a0e2d85402af16e73703617c7952f2c0682fac4e1399361a49
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698