How to Install and Uninstall gfortran-riscv64-linux-gnu Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 23,2024

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

This guide covers the steps necessary to install gfortran-riscv64-linux-gnu on Ubuntu 21.04 (Hirsute Hippo)

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

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

Please follow the guidelines below to uninstall gfortran-riscv64-linux-gnu on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the gfortran-riscv64-linux-gnu package on Ubuntu 21.04 (Hirsute Hippo)

Package: gfortran-riscv64-linux-gnu
Architecture: amd64
Version: 4:10.3.0-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.190ubuntu1)
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.3.0-1ubuntu1), gcc-riscv64-linux-gnu (= 4:10.3.0-1ubuntu1), gfortran-10-riscv64-linux-gnu (>= 10.3.0-1~)
Suggests: gfortran-doc
Filename: pool/universe/g/gcc-defaults-ports/gfortran-riscv64-linux-gnu_10.3.0-1ubuntu1_amd64.deb
Size: 1192
MD5sum: d888770716ba8b28ed0eac234e405384
SHA1: 00301603c9a2a70bf0ccb67ef1a3c4b7bcb68b7a
SHA256: 825eb9be8eecb309d2cd43439525469828de183405dbd1cea98b172c6a715f6f
SHA512: 61200459daaff36793fc68bcbafc9b8f69a396d5834a8ac20aead208e841c343532e5ac4c0d71993b45db11f3352aac90ad68712851018aef7b0053ce73e943a
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