How To Install makedepf90 on CentOS 7

In this tutorial we learn how to install makedepf90 on CentOS 7. makedepf90 is Create Makefile dependency list for Fortran source files

Introduction

In this tutorial we learn how to install makedepf90 on CentOS 7.

What is makedepf90

Makedepf90 is a program for automatic creation of Makefile dependency lists for Fortran source code. Makedepf90 supports MODULE ??include The original idea was to provide the same functionality for Fortran as gcc -MM *.c does for C.

We can use yum or dnf to install makedepf90 on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install makedepf90.

Install makedepf90 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install makedepf90 using yum by running the following command:

sudo yum -y install makedepf90

Install makedepf90 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install makedepf90 using dnf by running the following command:

sudo dnf -y install makedepf90

How To Uninstall makedepf90 on CentOS 7

To uninstall only the makedepf90 package we can use the following command:

sudo dnf remove makedepf90

References

Summary

In this tutorial we learn how to install makedepf90 on CentOS 7 using yum and dnf.