How to Install and Uninstall gcc-5-source Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 22,2024

1. Install "gcc-5-source" package

Learn how to install gcc-5-source on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "gcc-5-source" package

This tutorial shows how to uninstall gcc-5-source on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the gcc-5-source package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: gcc-5-source
Architecture: all
Version: 5.4.0-6ubuntu1~16.04.12
Priority: optional
Section: universe/devel
Source: gcc-5
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 81034
Depends: make, autoconf2.64, quilt, patchutils, gawk
Filename: pool/universe/g/gcc-5/gcc-5-source_5.4.0-6ubuntu1~16.04.12_all.deb
Size: 74598676
MD5sum: a1a90ba6133619acbad7663cfe5f73c2
SHA1: 87fc96db8d2b83ac61a32959801fa4daff8feac0
SHA256: f1743a7c7ebbd006777c0d64100e9c0e7fc7546d80730ae6e29f0f3afaafb298
SHA512: acd8ba88303b2f210bafa0a141c64d7652ba63d515a1f327fc01c945534a2a6bc9fa99970e473bbc00da5d463b215a583f0bc9fa0a1998d2e17cccbc449c97dc
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

Package: gcc-5-source
Priority: optional
Section: universe/devel
Installed-Size: 82192
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Architecture: all
Source: gcc-5
Version: 5.3.1-14ubuntu2
Depends: make, autoconf2.64, quilt, patchutils, gawk
Filename: pool/universe/g/gcc-5/gcc-5-source_5.3.1-14ubuntu2_all.deb
Size: 74510794
MD5sum: 1bde9a3b55d67ef59f07f45b8deef97c
SHA1: 1c2159db353d8e275462a8fe0c24758c9be0bce3
SHA256: a6af3b76295da714685777c9049b71e0a47cb67ef1195e29568857678bea9338
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
Homepage: http://gcc.gnu.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

5. The same packages on other Linux Distributions