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

Last updated: November 10,2024

1. Install "gcc-7-base" package

This is a short guide on how to install gcc-7-base on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "gcc-7-base" package

Learn how to uninstall gcc-7-base on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: gcc-7-base
Architecture: amd64
Version: 7.5.0-6ubuntu2
Multi-Arch: same
Priority: optional
Section: universe/libs
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 115
Breaks: gcc-4.4-base (<< 4.4.7), gcc-4.7-base (<< 4.7.3), gcj-4.4-base (<< 4.4.6-9~), gcj-4.6-base (<< 4.6.1-4~), gnat (<< 7), gnat-4.4-base (<< 4.4.6-3~), gnat-4.6 (<< 4.6.1-5~)
Filename: pool/universe/g/gcc-7/gcc-7-base_7.5.0-6ubuntu2_amd64.deb
Size: 18496
MD5sum: de80eb8763968dd2dab867f21f6cba92
SHA1: 33a691f79c80177879c0890b9a4a0ce9ab4d3cc0
SHA256: ebbf00800c2d3655a435c169511e7afd64fdd8818e0cf181ceef54a600ea9ab1
Homepage: http://gcc.gnu.org/
Description: GCC, the GNU Compiler Collection (base package)
Description-md5: b6e93638a6d08ea7a18929d7cf078e5d