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

Last updated: December 24,2024

1. Install "libgcc-7-dev" package

Please follow the instructions below to install libgcc-7-dev on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "libgcc-7-dev" package

Here is a brief guide to show you how to uninstall libgcc-7-dev on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: libgcc-7-dev
Architecture: amd64
Version: 7.5.0-6ubuntu2
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13100
Depends: gcc-7-base (= 7.5.0-6ubuntu2), libgcc-s1 (>= 7.5.0-6ubuntu2), libgomp1 (>= 7.5.0-6ubuntu2), libitm1 (>= 7.5.0-6ubuntu2), libatomic1 (>= 7.5.0-6ubuntu2), libasan4 (>= 7.5.0-6ubuntu2), liblsan0 (>= 7.5.0-6ubuntu2), libtsan0 (>= 7.5.0-6ubuntu2), libubsan0 (>= 7.5.0-6ubuntu2), libcilkrts5 (>= 7.5.0-6ubuntu2), libmpx2 (>= 7.5.0-6ubuntu2), libquadmath0 (>= 7.5.0-6ubuntu2)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Replaces: gccgo-7 (<< 7.5.0-6ubuntu2)
Filename: pool/universe/g/gcc-7/libgcc-7-dev_7.5.0-6ubuntu2_amd64.deb
Size: 2310864
MD5sum: 83201db2bcc10c3fcc3a9696a3cd9c80
SHA1: fc337fded4fbb136a15e817cfdf391022040dcb8
SHA256: fc47e61d41725e6cb840e9e37d8c703a699cb3ddefaf938a441b780e83266948
Homepage: http://gcc.gnu.org/
Description: GCC support library (development files)
Description-md5: 4ab7cb439b47e1d0796fbaf8447229ac