How to Install and Uninstall gfortran Package on Debian 11 (Bullseye)

Last updated: May 23,2024

1. Install "gfortran" package

Learn how to install gfortran on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install gfortran

2. Uninstall "gfortran" package

This guide covers the steps necessary to uninstall gfortran on Debian 11 (Bullseye):

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

3. Information about the gfortran package on Debian 11 (Bullseye)

Package: gfortran
Source: gcc-defaults (1.190)
Version: 4:10.2.1-1
Installed-Size: 16
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: fortran-compiler, gfortran-mod-15
Depends: cpp (= 4:10.2.1-1), gcc (= 4:10.2.1-1), gfortran-10 (>= 10.2.1-3~)
Suggests: gfortran-multilib, gfortran-doc
Description: GNU Fortran 95 compiler
Description-md5: 19814cb032299ba2188b0196ece62ba3
Tag: devel::compiler, devel::lang:fortran, role::dummy, role::program,
suite::gnu
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults/gfortran_10.2.1-1_amd64.deb
Size: 1428
MD5sum: 2cd6ce1eb1124d48d1db64a054dcd400
SHA256: 71ea1145310572fb869d1dbaafa837b5db96e125c64895d0c346af849b38b4b8