How To Install libtool on Rocky Linux 8
Introduction
In this tutorial we learn how to install libtool
on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libtool.
Install libtool on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
To uninstall only the libtool
package we can use the following command:
sudo dnf remove libtool
libtool Package Contents on Rocky Linux 8
/usr/bin/libtool
/usr/bin/libtoolize
/usr/share/aclocal/libtool.m4
/usr/share/aclocal/ltargz.m4
/usr/share/aclocal/ltdl.m4
/usr/share/aclocal/ltoptions.m4
/usr/share/aclocal/ltsugar.m4
/usr/share/aclocal/ltversion.m4
/usr/share/aclocal/lt~obsolete.m4
/usr/share/doc/libtool
/usr/share/doc/libtool/AUTHORS
/usr/share/doc/libtool/ChangeLog
/usr/share/doc/libtool/NEWS
/usr/share/doc/libtool/README
/usr/share/doc/libtool/THANKS
/usr/share/doc/libtool/TODO
/usr/share/info/libtool.info-1.gz
/usr/share/info/libtool.info-2.gz
/usr/share/info/libtool.info.gz
/usr/share/libtool
/usr/share/libtool/build-aux
/usr/share/libtool/build-aux/compile
/usr/share/libtool/build-aux/config.guess
/usr/share/libtool/build-aux/config.sub
/usr/share/libtool/build-aux/depcomp
/usr/share/libtool/build-aux/install-sh
/usr/share/libtool/build-aux/ltmain.sh
/usr/share/libtool/build-aux/missing
/usr/share/licenses/libtool
/usr/share/licenses/libtool/COPYING
/usr/share/man/man1/libtool.1.gz
/usr/share/man/man1/libtoolize.1.gz
References
Summary
In this tutorial we learn how to install libtool
on Rocky Linux 8 using yum and dnf.