How To Install slibtool on CentOS 7

In this tutorial we learn how to install slibtool on CentOS 7. slibtool is A skinny libtool implementation, written in C

Introduction

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

What is slibtool

‘slibtool’ is an independent reimplementation of the widely used libtool, written in C. ‘slibtool’ is designed to be a clean, fast, easy-to-use libtool drop-in replacement, and is accordingly aimed at package authors, distro developers, and system integrators. ‘slibtool’ maintains compatibility with libtool in nearly every aspect of the tool’s functionality as well as semantics, leaving out (or turning into a no-op) only a small number of features that are no longer needed on modern systems. Being a compiled binary, and although not primarily written for the sake of performance, building a package with ‘slibtool’ is often faster than with its script-based counterpart. The resulting performance gain would normally vary between packages, and is most noticeable in builds that invoke libtool a large number of times, and which are characterized by the short compilation duration of individual translation units.

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

Install slibtool on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install slibtool

Install slibtool 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 slibtool using dnf by running the following command:

sudo dnf -y install slibtool

How To Uninstall slibtool on CentOS 7

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

sudo dnf remove slibtool

References

Summary

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