How to Install and Uninstall gfortran Package on Kali Linux

Last updated: February 24,2025

1. Install "gfortran" package

Please follow the instructions below to install gfortran on Kali Linux

$ sudo apt update $ sudo apt install gfortran

2. Uninstall "gfortran" package

Please follow the guidance below to uninstall gfortran on Kali Linux:

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

3. Information about the gfortran package on Kali Linux

Package: gfortran
Source: gcc-defaults (1.214)
Version: 4:13.2.0-7
Installed-Size: 15
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: fortran-compiler, gfortran-mod-15
Depends: cpp (= 4:13.2.0-7), cpp-x86-64-linux-gnu (= 4:13.2.0-7), gcc (= 4:13.2.0-7), gfortran-13 (>= 13.2.0-11~), gfortran-x86-64-linux-gnu (= 4:13.2.0-7)
Suggests: gfortran-multilib, gfortran-doc
Size: 1440
SHA256: 43cc65cfd034920c264f597b25551c630a264a8fc351b522fb8636a82cbbdb24
SHA1: 45d5b010a7ae4a53f984c64e3ea2be2a0f756f59
MD5sum: f6d5ac745f32b29df1a7a868bb85e065
Description: GNU Fortran 95 compiler
This is the GNU Fortran 95 compiler, which compiles Fortran 95 on platforms
supported by the gcc compiler. It uses the gcc backend to generate optimized
code.
.
This is a dependency package providing the default GNU Fortran 95 compiler.
Description-md5:
Tag: devel::compiler, devel::lang:fortran, role::dummy, role::program,
suite::gnu
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults/gfortran_13.2.0-7_amd64.deb