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

Last updated: December 27,2024

1. Install "libgcc-5-dev" package

This guide covers the steps necessary to install libgcc-5-dev on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libgcc-5-dev

2. Uninstall "libgcc-5-dev" package

Please follow the guidelines below to uninstall libgcc-5-dev on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libgcc-5-dev $ sudo apt autoclean && sudo apt autoremove

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

Package: libgcc-5-dev
Architecture: amd64
Version: 5.4.0-6ubuntu1~16.04.12
Multi-Arch: same
Priority: optional
Section: libdevel
Source: gcc-5
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12193
Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.12), libgcc1 (>= 1:5.4.0-6ubuntu1~16.04.12), libgomp1 (>= 5.4.0-6ubuntu1~16.04.12), libitm1 (>= 5.4.0-6ubuntu1~16.04.12), libatomic1 (>= 5.4.0-6ubuntu1~16.04.12), libasan2 (>= 5.4.0-6ubuntu1~16.04.12), liblsan0 (>= 5.4.0-6ubuntu1~16.04.12), libtsan0 (>= 5.4.0-6ubuntu1~16.04.12), libubsan0 (>= 5.4.0-6ubuntu1~16.04.12), libcilkrts5 (>= 5.4.0-6ubuntu1~16.04.12), libmpx0 (>= 5.4.0-6ubuntu1~16.04.12), libquadmath0 (>= 5.4.0-6ubuntu1~16.04.12)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Replaces: gccgo-5 (<< 5.4.0-6ubuntu1~16.04.12)
Filename: pool/main/g/gcc-5/libgcc-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb
Size: 2238978
MD5sum: c284a3e768cfc6f477db8eb13f05e3e5
SHA1: d91af08af3326d700bff14b32e9d5b84a1a7e3e8
SHA256: 9fcd5a457cc7f001c62767720953ee8f133744db48b73be2008573768034a684
SHA512: efc0c432be88431d077d4a24efb2f733df534126f5b2a69cdbc53f096ef45de3a48f8c5667e101c4781af24f2bbd6491ba4ae8a4cff6511cdcf68beea74f7213
Homepage: http://gcc.gnu.org/
Description-en: GCC support library (development files)
This package contains the headers and static library files necessary for
building C programs which use libgcc, libgomp, libquadmath, libssp or libitm.
Description-md5: 4ab7cb439b47e1d0796fbaf8447229ac
Task: ubuntu-desktop, ubuntu-usb, kubuntu-desktop, kubuntu-full, edubuntu-desktop, edubuntu-usb, xubuntu-core, xubuntu-desktop, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntukylin-desktop
Build-Essential: yes
Supported: 5y

Package: libgcc-5-dev
Priority: optional
Section: libdevel
Installed-Size: 12255
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Architecture: amd64
Source: gcc-5
Version: 5.3.1-14ubuntu2
Replaces: gccgo-5 (<< 5.3.1-14ubuntu2)
Depends: gcc-5-base (= 5.3.1-14ubuntu2), libgcc1 (>= 1:5.3.1-14ubuntu2), libgomp1 (>= 5.3.1-14ubuntu2), libitm1 (>= 5.3.1-14ubuntu2), libatomic1 (>= 5.3.1-14ubuntu2), libasan2 (>= 5.3.1-14ubuntu2), liblsan0 (>= 5.3.1-14ubuntu2), libtsan0 (>= 5.3.1-14ubuntu2), libubsan0 (>= 5.3.1-14ubuntu2), libcilkrts5 (>= 5.3.1-14ubuntu2), libmpx0 (>= 5.3.1-14ubuntu2), libquadmath0 (>= 5.3.1-14ubuntu2)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Filename: pool/main/g/gcc-5/libgcc-5-dev_5.3.1-14ubuntu2_amd64.deb
Size: 2234546
MD5sum: 77ed6b39f94f7af58537b866360a99dd
SHA1: 2f242e99d257ecb200486cfded3e78064df6e3c9
SHA256: 9c7400484c298ae28e44b3e2265e890e6d778fc5467632aa4c30bbe1f51bc3a0
Description-en: GCC support library (development files)
This package contains the headers and static library files necessary for
building C programs which use libgcc, libgomp, libquadmath, libssp or libitm.
Description-md5: 4ab7cb439b47e1d0796fbaf8447229ac
Multi-Arch: same
Homepage: http://gcc.gnu.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Build-Essential: yes
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, kubuntu-desktop, kubuntu-full, edubuntu-desktop, edubuntu-usb, xubuntu-core, xubuntu-desktop, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntukylin-desktop

5. The same packages on other Linux Distributions