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

Last updated: November 23,2024

1. Install "gfortran-12" package

Please follow the guidance below to install gfortran-12 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install gfortran-12

2. Uninstall "gfortran-12" package

This is a short guide on how to uninstall gfortran-12 on Debian 12 (Bookworm):

$ sudo apt remove gfortran-12 $ sudo apt autoclean && sudo apt autoremove

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

Package: gfortran-12
Source: gcc-12
Version: 12.2.0-14
Installed-Size: 34737
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: fortran95-compiler, gfortran-mod-15
Depends: gcc-12-base (= 12.2.0-14), gcc-12 (= 12.2.0-14), libgfortran-12-dev (= 12.2.0-14), libc6-dev (>= 2.23-1~), libc6 (>= 2.36), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Suggests: gfortran-12-multilib, gfortran-12-doc, libcoarrays-dev
Description: GNU Fortran compiler
Description-md5: 5dd93c5d21d0717205bc5a3b538b0ca2
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-12/gfortran-12_12.2.0-14_amd64.deb
Size: 10191492
MD5sum: 854803a53ec1b8b55e4d6ad3f9c193c7
SHA256: 50c3212060b6999eefa1deed45cba70c5b9a51f204dcb546eb84e4e5566e4d90