How To Install libtool on AlmaLinux 8

In this tutorial we learn how to install libtool in AlmaLinux 8. libtool is The GNU Portable Library Tool

Introduction

In this tutorial we learn how to install libtool on AlmaLinux 8.

What is libtool

GNU Libtool is a set of shell scripts which automatically configure UNIX and UNIX-like systems to generically build shared libraries. Libtool provides a consistent, portable interface which simplifies the process of using shared libraries. If you are developing programs which will use shared libraries, but do not use the rest of the GNU Autotools (such as GNU Autoconf and GNU Automake), you should install the libtool package. The libtool package also includes all files needed to integrate the GNU Portable Library Tool (libtool) and the GNU Libtool Dynamic Module Loader (ltdl) into a package built using the GNU Autotools (including GNU Autoconf and GNU Automake).

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

Install libtool on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libtool

Install libtool on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libtool

How To Uninstall libtool on AlmaLinux 8

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

sudo dnf remove libtool

References

Summary

In this tutorial we learn how to install libtool on AlmaLinux 8 using yum and dnf.