How To Install libtool on Fedora 34

libtool is The GNU Portable Library Tool

Introduction

In this tutorial we learn how to install libtool on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libtool.

Install libtool on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libtool

Install libtool on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libtool

libtool Package Contents on Fedora 34

/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 Fedora 34 using yum and dnf.