How to Install and Uninstall dh-fortran-mod Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "dh-fortran-mod" package

Please follow the step by step instructions below to install dh-fortran-mod on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install dh-fortran-mod

2. Uninstall "dh-fortran-mod" package

In this section, we are going to explain the necessary steps to uninstall dh-fortran-mod on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove dh-fortran-mod $ sudo apt autoclean && sudo apt autoremove

3. Information about the dh-fortran-mod package on Ubuntu 21.04 (Hirsute Hippo)

Package: dh-fortran-mod
Architecture: all
Version: 0.20
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 38
Provides: dh-sequence-fortran-mod
Depends: perl:any, debhelper (>= 10), libio-compress-perl, libfile-libmagic-perl
Enhances: debhelper
Filename: pool/universe/d/dh-fortran-mod/dh-fortran-mod_0.20_all.deb
Size: 11640
MD5sum: 2dfec6711bdaadfa5c736bfed811e036
SHA1: 22758e7b38f91e76c95488dd277be6524ba4d255
SHA256: 86d05b54a95dee5bbc8cf002e6bff23cd7102c2859eeded3531fb980128e9e05
SHA512: bf9dc90992cec745240caa4640af6fe31a13f9f73e367667b0fef4b64f397df09106ef9fe57c1c6a9074287163f122bac00885c4b1c87433c76706d957eea118
Description-en: debhelper add-on to handle Fortran '.mod' files
Modules were introduced in the 1990 revision of the Fortran standard. When the
Fortran compiler processes a source file containing a module, it produces both
an object file and a '.mod' file. The latter plays a role similar to header
files in C, since it is needed when compiling other source files which make
use of the module.
.
The '.mod' files are however platform dependent, and their format changes with
the gfortran version.
.
This package provides the dh_fortran_mod command, which simplifies the
inclusion of '.mod' files in binary packages. First, it places the '.mod'
files in the correct platform- and gfortran-dependent location. Second, it
adds the right dependency information on gfortran version(s).
.
Inclusion of dh_fortran_mod in dh sequence is also provided under the name
'fortran_mod'.
Description-md5: f335ff14f9816884de1d80c04e27c4ac