How To Install autoconf on CentOS 7
Introduction
In this tutorial we learn how to install autoconf
on CentOS 7.
What is autoconf
GNU’s Autoconf is a tool for configuring source code and Makefiles. Using Autoconf, programmers can create portable and configurable packages, since the person building the package is allowed to specify various configuration options. You should install Autoconf if you are developing software and would like to create shell scripts that configure your source code packages. If you are installing Autoconf, you will also need to install the GNU m4 package. Note that the Autoconf package is not required for the end-user who may be configuring software with an Autoconf-generated script; Autoconf is only required for the generation of the scripts, not their use.
We can use yum
or dnf
to install autoconf
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install autoconf.
Install autoconf on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install autoconf
using yum
by running the following command:
Install autoconf 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.
After updating yum database, We can install autoconf
using dnf
by running the following command:
How To Uninstall autoconf on CentOS 7
To uninstall only the autoconf
package we can use the following command:
References
Summary
In this tutorial we learn how to install autoconf
on CentOS 7 using yum
and dnf
.