Install Gfortran On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian

Install Gfortran On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian

gfortran

Fortran support

Maintainer: Debian GCC Maintainers


Section: devel

Install gfortran

  • Debian apt-get install gfortran Click to copy
  • Ubuntu apt-get install gfortran Click to copy
  • Alpine OS apk add gfortran Click to copy
  • Arch Linux pacman -S gcc-gfortran Click to copy
  • Kali Linux apt-get install gfortran Click to copy
  • CentOS yum install gcc-gfortran Click to copy
  • Fedora dnf install gcc-gfortran Click to copy
  • Raspbian apt-get install gfortran Click to copy

gcc-gfortran

Fortran support

gfortran

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.

gcc-snapshot

A SNAPSHOT of the GNU Compiler Collection

gcc-fortran

Fortran front-end for GCC
Installing gfortran command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of gfortran 2026 package in your OS.