How to Install and Uninstall gfortran-riscv64-linux-gnu Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 18,2024

1. Install "gfortran-riscv64-linux-gnu" package

Please follow the guidance below to install gfortran-riscv64-linux-gnu on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install gfortran-riscv64-linux-gnu

2. Uninstall "gfortran-riscv64-linux-gnu" package

In this section, we are going to explain the necessary steps to uninstall gfortran-riscv64-linux-gnu on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove gfortran-riscv64-linux-gnu $ sudo apt autoclean && sudo apt autoremove

3. Information about the gfortran-riscv64-linux-gnu package on Ubuntu 20.10 (Groovy Gorilla)

Package: gfortran-riscv64-linux-gnu
Architecture: amd64
Version: 4:10.2.0-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.189ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: cpp-riscv64-linux-gnu (= 4:10.2.0-1ubuntu1), gcc-riscv64-linux-gnu (= 4:10.2.0-1ubuntu1), gfortran-10-riscv64-linux-gnu (>= 10.2.0-8~)
Suggests: gfortran-doc
Filename: pool/universe/g/gcc-defaults-ports/gfortran-riscv64-linux-gnu_10.2.0-1ubuntu1_amd64.deb
Size: 1192
MD5sum: a6611d1612606761f87afecc8a472a38
SHA1: cded5b7e66e85f5e8a178216d1d6d965bc152bc3
SHA256: 422809e613a654385aff68c4fc26bfdc76d8b59f9698bfae7d7821d6be293bd2
SHA512: edd806ff7eedfc1d86fa76a5f80aea93cd6dbb97a93fb59306a7eb8bbbf09fa20740fdaa600276091d6c4564100858debde3dfe9942edfa513cb9d817c64c458
Description-en: GNU Fortran 95 compiler for the riscv64 architecture
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
cross-compiler for the riscv64 architecture.
Description-md5: a4e4aa685c3d7ccafd943004e4f6149f