How to Install and Uninstall libgcc-12-dev Package on Debian 12 (Bookworm)

Last updated: May 18,2024

1. Install "libgcc-12-dev" package

Please follow the step by step instructions below to install libgcc-12-dev on Debian 12 (Bookworm)

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

2. Uninstall "libgcc-12-dev" package

Please follow the step by step instructions below to uninstall libgcc-12-dev on Debian 12 (Bookworm):

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

3. Information about the libgcc-12-dev package on Debian 12 (Bookworm)

Package: libgcc-12-dev
Source: gcc-12
Version: 12.2.0-14
Installed-Size: 14284
Maintainer: Debian GCC Maintainers
Architecture: amd64
Replaces: libtsan2 (<< 12-20211113-2~)
Depends: gcc-12-base (= 12.2.0-14), libgcc-s1 (>= 12.2.0-14), libgomp1 (>= 12.2.0-14), libitm1 (>= 12.2.0-14), libatomic1 (>= 12.2.0-14), libasan8 (>= 12.2.0-14), liblsan0 (>= 12.2.0-14), libtsan2 (>= 12.2.0-14), libubsan1 (>= 12.2.0-14), libquadmath0 (>= 12.2.0-14)
Recommends: libc6-dev (>= 2.23-1~)
Breaks: libtsan2 (<< 12-20211113-2~)
Description: GCC support library (development files)
Description-md5: 4ab7cb439b47e1d0796fbaf8447229ac
Multi-Arch: same
Homepage: http://gcc.gnu.org/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/g/gcc-12/libgcc-12-dev_12.2.0-14_amd64.deb
Size: 2436900
MD5sum: c4297c81e47524865cd86f08d3d805ce
SHA256: 6ffd3721915c49580fc9bcf1ef06deab4ad59e99c52c9f349d03954642b97655