How to Install and Uninstall gcc-4.9 Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 26,2024
1. Install "gcc-4.9" package
Learn how to install gcc-4.9 on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
gcc-4.9
Copied
2. Uninstall "gcc-4.9" package
Please follow the instructions below to uninstall gcc-4.9 on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
gcc-4.9
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the gcc-4.9 package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: gcc-4.9
Priority: optional
Section: universe/devel
Installed-Size: 17098
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Architecture: amd64
Version: 4.9.3-13ubuntu2
Replaces: gccgo-4.9 (<< 4.9.3-13ubuntu2)
Provides: c-compiler
Depends: cpp-4.9 (= 4.9.3-13ubuntu2), gcc-4.9-base (= 4.9.3-13ubuntu2), binutils (>= 2.26), libgcc-4.9-dev (= 4.9.3-13ubuntu2), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libmpc3, libmpfr4 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-4.9-multilib, gcc-4.9-doc (>= 4.9), gcc-4.9-locales (>= 4.9), libgcc1-dbg (>= 1:4.9.3-13ubuntu2), libgomp1-dbg (>= 4.9.3-13ubuntu2), libitm1-dbg (>= 4.9.3-13ubuntu2), libatomic1-dbg (>= 4.9.3-13ubuntu2), libasan1-dbg (>= 4.9.3-13ubuntu2), liblsan0-dbg (>= 4.9.3-13ubuntu2), libtsan0-dbg (>= 4.9.3-13ubuntu2), libubsan0-dbg (>= 4.9.3-13ubuntu2), libcilkrts5-dbg (>= 4.9.3-13ubuntu2), libquadmath0-dbg (>= 4.9.3-13ubuntu2)
Filename: pool/universe/g/gcc-4.9/gcc-4.9_4.9.3-13ubuntu2_amd64.deb
Size: 5441772
MD5sum: dfc1e49df18fbc3d08eb6fa9c0c06411
SHA1: 7954c12d146b8b441d6242876047fb3177f4e420
SHA256: 7725cf8c5f5f25c7e96118adb97585cb7c26e8f0a6537f4e75e23a3c7d91e88d
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
Priority: optional
Section: universe/devel
Installed-Size: 17098
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Architecture: amd64
Version: 4.9.3-13ubuntu2
Replaces: gccgo-4.9 (<< 4.9.3-13ubuntu2)
Provides: c-compiler
Depends: cpp-4.9 (= 4.9.3-13ubuntu2), gcc-4.9-base (= 4.9.3-13ubuntu2), binutils (>= 2.26), libgcc-4.9-dev (= 4.9.3-13ubuntu2), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libmpc3, libmpfr4 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-4.9-multilib, gcc-4.9-doc (>= 4.9), gcc-4.9-locales (>= 4.9), libgcc1-dbg (>= 1:4.9.3-13ubuntu2), libgomp1-dbg (>= 4.9.3-13ubuntu2), libitm1-dbg (>= 4.9.3-13ubuntu2), libatomic1-dbg (>= 4.9.3-13ubuntu2), libasan1-dbg (>= 4.9.3-13ubuntu2), liblsan0-dbg (>= 4.9.3-13ubuntu2), libtsan0-dbg (>= 4.9.3-13ubuntu2), libubsan0-dbg (>= 4.9.3-13ubuntu2), libcilkrts5-dbg (>= 4.9.3-13ubuntu2), libquadmath0-dbg (>= 4.9.3-13ubuntu2)
Filename: pool/universe/g/gcc-4.9/gcc-4.9_4.9.3-13ubuntu2_amd64.deb
Size: 5441772
MD5sum: dfc1e49df18fbc3d08eb6fa9c0c06411
SHA1: 7954c12d146b8b441d6242876047fb3177f4e420
SHA256: 7725cf8c5f5f25c7e96118adb97585cb7c26e8f0a6537f4e75e23a3c7d91e88d
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