How to Install and Uninstall gfortran-12 Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 15,2024

1. Install "gfortran-12" package

This tutorial shows how to install gfortran-12 on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install gfortran-12

2. Uninstall "gfortran-12" package

Please follow the step by step instructions below to uninstall gfortran-12 on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the gfortran-12 package on Ubuntu 23.10 (Mantic Minotaur)

Package: gfortran-12
Architecture: amd64
Version: 12.3.0-9ubuntu2
Priority: optional
Section: universe/devel
Source: gcc-12
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 35495
Provides: fortran95-compiler, gfortran-mod-15
Depends: gcc-12-base (= 12.3.0-9ubuntu2), gcc-12 (= 12.3.0-9ubuntu2), libgfortran-12-dev (= 12.3.0-9ubuntu2), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.38), libgmp10 (>= 2:6.3.0+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Suggests: gfortran-12-multilib, gfortran-12-doc, libcoarrays-dev
Filename: pool/universe/g/gcc-12/gfortran-12_12.3.0-9ubuntu2_amd64.deb
Size: 11213728
MD5sum: f792944a8896a13ce7c0f54795ba27f2
SHA1: 9503bf6213e53ae5d991502c859a44744f6164ed
SHA256: a90f4389d4041fc44e9f78f8ac959d046d75358704f1ef5d35fe28aa198afc55
SHA512: ae3068ff1a35fcc30eca6fc46ffdf93329341aaea08340ee71c0bda0965bc952dd53c02e1cba30fa0fb073576c1609b12881b54ac28255cdda007c5c20e3188a
Homepage: http://gcc.gnu.org/
Description: GNU Fortran compiler
Description-md5: 5dd93c5d21d0717205bc5a3b538b0ca2