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

Last updated: November 26,2024

1. Install "gcc-4.8" package

Here is a brief guide to show you how to install gcc-4.8 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install gcc-4.8

2. Uninstall "gcc-4.8" package

Please follow the step by step instructions below to uninstall gcc-4.8 on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove gcc-4.8 $ sudo apt autoclean && sudo apt autoremove

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

Package: gcc-4.8
Priority: optional
Section: universe/devel
Installed-Size: 15295
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Architecture: amd64
Version: 4.8.5-4ubuntu2
Provides: c-compiler
Depends: cpp-4.8 (= 4.8.5-4ubuntu2), gcc-4.8-base (= 4.8.5-4ubuntu2), binutils (>= 2.25.90.20160101), libgcc-4.8-dev (>= 4.8.5-4ubuntu2), libc6 (>= 2.14), libcloog-isl4 (>= 0.17), libgmp10 (>= 2:5.0.1~), libisl15 (>= 0.15), libmpc3, libmpfr4 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-4.8-multilib, gcc-4.8-doc (>= 4.8), gcc-4.8-locales (>= 4.8), libgcc1-dbg (>= 1:4.8.5-4ubuntu2), libgomp1-dbg (>= 4.8.5-4ubuntu2), libitm1-dbg (>= 4.8.5-4ubuntu2), libatomic1-dbg (>= 4.8.5-4ubuntu2), libasan0-dbg (>= 4.8.5-4ubuntu2), libtsan0-dbg (>= 4.8.5-4ubuntu2), libquadmath0-dbg (>= 4.8.5-4ubuntu2)
Filename: pool/universe/g/gcc-4.8/gcc-4.8_4.8.5-4ubuntu2_amd64.deb
Size: 5063526
MD5sum: a6a8fa9f1889f83f4d1dcd2a46049f2f
SHA1: 8faeb9d02f1d60258bbf6930f35a8da26c3e80de
SHA256: ac0184b483e9f9c9bb2116be66f41f5340675308475412725d90623f8ce35d83
Description-en: GNU C compiler
This is the GNU C compiler, a fairly portable optimizing compiler for C.
Description-md5: 394374e688b1afb3af5f419895d29698
Homepage: http://gcc.gnu.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu