How to Install and Uninstall gcc-9-source Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 16,2024

1. Install "gcc-9-source" package

This tutorial shows how to install gcc-9-source on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "gcc-9-source" package

This tutorial shows how to uninstall gcc-9-source on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the gcc-9-source package on Ubuntu 21.04 (Hirsute Hippo)

Package: gcc-9-source
Architecture: all
Version: 9.3.0-23ubuntu2
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: 79063
Depends: make, quilt, patchutils, sharutils, gawk, lsb-release, m4, libtool, autoconf2.69
Filename: pool/universe/g/gcc-9/gcc-9-source_9.3.0-23ubuntu2_all.deb
Size: 73311044
MD5sum: 715ca8d58ef95e5a980006e3815d79f4
SHA1: f1cd1d006d6d14a7cc432941b9bc39cfcd017424
SHA256: 98cab409006d0c9ea1d583f694712f7469bcc03642c50a7b9ef33ed9e2be9869
SHA512: 95a89abae482d018393f283b5ee2e51df2a89c8adf74dfc63fa6edf6ee993d549a524e9b3a217764614160c87be9d14aec68aee9c93637c6f38e10e6a801d7c5
Homepage: http://gcc.gnu.org/
Description-en: Source of the GNU Compiler Collection
This package contains the sources and patches which are needed to
build the GNU Compiler Collection (GCC).
Description-md5: cb00049993a8c14b73bb041c050eb8c5