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

Last updated: September 20,2024

1. Install "gcc-7-source" package

Please follow the steps below to install gcc-7-source on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "gcc-7-source" package

This guide covers the steps necessary to uninstall gcc-7-source on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gcc-7-source
Architecture: all
Version: 7.5.0-6ubuntu4
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 68337
Depends: make, autoconf2.64, quilt, patchutils, sharutils, gawk, lsb-release
Filename: pool/universe/g/gcc-7/gcc-7-source_7.5.0-6ubuntu4_all.deb
Size: 66830500
MD5sum: 6bd0d1f63150057c19750a3dac7a62ca
SHA1: ff561e234987c49dc0598e1f4a901e33a2b97709
SHA256: 14b276bc7c5a82d420637beb73f9fd89de07d8cf538e9bf8904bb586db8d22c8
SHA512: b1476abff92fe8f8e5e1a6d2320812c7668fea0d52bd4c1de471718e49e3c78099371ad73d37dade6666be83a2d4e0648e965f39f5244e9aa45040af7acb1c74
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