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

Last updated: November 07,2024

1. Install "gcc-7-source" package

This guide covers the steps necessary to install gcc-7-source on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "gcc-7-source" package

Please follow the instructions below to uninstall gcc-7-source on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: gcc-7-source
Architecture: all
Version: 7.5.0-6ubuntu2
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: 68335
Depends: make, autoconf2.64, quilt, patchutils, sharutils, gawk, lsb-release
Filename: pool/universe/g/gcc-7/gcc-7-source_7.5.0-6ubuntu2_all.deb
Size: 66830280
MD5sum: ffbd4a9c3a4c59036a18719a17d3e76b
SHA1: 1e89986dba8ac06db24601dfe5701f8e225c1346
SHA256: 263f21edd284648fd9e4a1007204ac9b52dd3bc3f69ff5a5914af3fdd5d3bec0
Homepage: http://gcc.gnu.org/
Description: Source of the GNU Compiler Collection
Description-md5: cb00049993a8c14b73bb041c050eb8c5