How to Install and Uninstall gcc-9-source Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 16,2024

1. Install "gcc-9-source" package

Learn how to install gcc-9-source on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install gcc-9-source

2. Uninstall "gcc-9-source" package

In this section, we are going to explain the necessary steps to uninstall gcc-9-source on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the gcc-9-source package on Ubuntu 20.04 LTS (Focal Fossa)

Package: gcc-9-source
Architecture: all
Version: 9.4.0-1ubuntu1~20.04.2
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 78238
Depends: make, quilt, patchutils, sharutils, gawk, lsb-release, m4, libtool, autoconf
Filename: pool/universe/g/gcc-9/gcc-9-source_9.4.0-1ubuntu1~20.04.2_all.deb
Size: 74817264
MD5sum: bf454f0b6e92b804f18daba34d7aa54e
SHA1: bab608886a0843f3e3cce5a1d7f4ff4f84c18f1b
SHA256: 2a2c9fbc70c965b0923ef20faf2d1bfc10088a842b50286bb94f71fea8f3a7be
SHA512: ceae4083786bd6e85fcc9f49a940abe917f95c4f96356d4b561ec70c541835a6d7ff1d7fd3b296d09a59bc44adfd09b24b0ae08fe1199cf1117ed7bc7d03d504
Homepage: http://gcc.gnu.org/
Description: Source of the GNU Compiler Collection
Description-md5: cb00049993a8c14b73bb041c050eb8c5

Package: gcc-9-source
Architecture: all
Version: 9.3.0-10ubuntu2
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 76605
Depends: make, quilt, patchutils, sharutils, gawk, lsb-release, m4, libtool, autoconf
Filename: pool/universe/g/gcc-9/gcc-9-source_9.3.0-10ubuntu2_all.deb
Size: 72982396
MD5sum: 68cf052f2a48962c7c094debecd8b0a5
SHA1: 8ef0d77809e7c4f9d3ed51ea9beeb27ce4c35474
SHA256: cee89de2fce315e9089c272ca36445644356f372faf64a09379691a861ab5df7
Homepage: http://gcc.gnu.org/
Description: Source of the GNU Compiler Collection
Description-md5: cb00049993a8c14b73bb041c050eb8c5