# Install libtool with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Generic library support script. Version 2.5.4 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:libtool
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libtool
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libtool
```

  Evidence: MacPorts ports tree: devel/libtool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libltdl
```

  Evidence: Alpine Linux edge package indexes: libltdl from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libltdl-dev
```

  Evidence: Debian stable package indexes: libltdl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install libtool
```

  Evidence: Fedora Rawhide package metadata: libtool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libtool
```

  Evidence: nixpkgs package indexes: libtool from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S libtool
```

  Evidence: Arch Linux sync databases: libtool from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libltdl7
```

  Evidence: openSUSE Tumbleweed package metadata: libltdl7 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:libtool
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libtool>
- **Version:** 2.5.4
- **Source summary:** Generic library support script
- **Homepage:** <https://www.gnu.org/software/libtool/>
- **Repository:** <https://git.savannah.gnu.org/cgit/libtool.git>
- **Upstream docs:** <https://www.gnu.org/software/libtool>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://ftpmirror.gnu.org/gnu/libtool/libtool-2.5.4.tar.xz>
- **Last updated:** 2026-06-22T14:05:23-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- glibtool (cli)
- glibtoolize (cli)
- glibtool (alias)
- glibtoolize (alias)

## Dependencies

- m4

## Install behavior

- Post-install hook: not defined
- Caveats: All commands have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc like: PATH="$HOMEBREW_PREFIX/opt/libtool/libexec/gnubin:$PATH"
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sequoia, sonoma, tahoe, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.5.4
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://www.gnu.org/software/libtool/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

GNU Libtool is the GNU portable library tool: a shell-script based layer that hides the platform-specific details of building, linking, installing, and loading shared libraries behind a consistent interface.

### Project history

The Libtool manual describes the project as a response to a mid-1990s portability problem in GNU packages: shared-library support mattered, but each Unix and Unix-like platform had different compiler flags, linker behavior, filename conventions, runtime search paths, and dynamic loading rules. Libtool standardized those mechanics for package authors and was designed to integrate with Autoconf and Automake while remaining usable outside the GNU build system.

By 1999, Libtool 1.3 had added maintainers, a GNU-hosted home page, portable dlopen support through libltdl, convenience archives, export-symbol controls, and many platform fixes. The old GNU news page also notes that March 15, 1999 was treated by the team as Libtool's third birthday, placing the project origin in March 1996.

### Adoption history

Libtool became a standard part of Autotools-era source distributions, especially for C and C++ libraries that needed to build both static and shared artifacts across GNU/Linux, BSD systems, commercial Unix variants, Cygwin, and macOS/Darwin. Its adoption is visible less as a user-facing application than as generated build infrastructure embedded in countless source tarballs.

On macOS through Homebrew, GNU Libtool is installed with prefixed executable names such as glibtool and glibtoolize to avoid colliding with Apple's system libtool command.

### How it is used

Package maintainers use libtool through make rules, Autoconf macros, and libtoolize-generated support files. End users usually encounter it indirectly when compiling source packages: it creates libtool object files, links libtool archives, manages PIC/non-PIC builds, and emits platform-specific install or runtime-linking commands.

### Why package nerds care

Libtool is package-nerd famous because it solved a real portability mess and also became a recognizable source of noisy build logs, relinking steps, .la files, and platform edge cases. Understanding it explains a large slice of classic Unix packaging, Autotools conventions, and why Homebrew exposes GNU Libtool as glibtool.

### Timeline

- 1996: GNU Libtool project origin, inferred from the GNU news page's March 15, 1999 third-birthday note.
- 1998: GNU Libtool 1.1-era documentation described the tool as generic shared-library support for GNU packages.
- 1999: GNU Libtool 1.3 added libltdl and broader platform support.
- 2000: GNU's old news page recorded continued 1.3.x maintenance releases.
- 2024: GNU Libtool 2.5.4 documentation described the maintained manual edition.

### Related projects

- GNU Autoconf and GNU Automake are the companion build-system tools with which Libtool was designed to integrate.
- GNU libltdl is distributed with Libtool to abstract dynamic module loading.
- slibtool is a later independent implementation in the same problem space.

### Sources

- <https://git.savannah.gnu.org/cgit/libtool.git>
- <https://www.gnu.org/software/libtool/>
- <https://www.gnu.org/software/libtool/manual/libtool.html>
- <https://www.gnu.org/software/libtool/news-old.html>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libtool
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - libltdl-dev - 2.5.4-4: normalized package name match | Debian stable package indexes: libltdl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | System independent dlopen wrapper for GNU libtool (headers) | https://www.gnu.org/software/libtool/
- Debian apt - libltdl7 - 2.5.4-4: normalized package name match | Debian stable package indexes: libltdl7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | System independent dlopen wrapper for GNU libtool | https://www.gnu.org/software/libtool/
- Debian apt - libtool - 2.5.4-4: normalized package name match | Debian stable package indexes: libtool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Generic library support script | https://www.gnu.org/software/libtool/
- Debian apt - libtool-bin - 2.5.4-4: normalized package name match | Debian stable package indexes: libtool-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Generic library support script (libtool binary) | https://www.gnu.org/software/libtool/
- Debian apt - libtool-doc - 2.5.4-4: normalized package name match | Debian stable package indexes: libtool-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Generic library support script (documentation) | https://www.gnu.org/software/libtool/
- Nix - libtool: normalized package name match | nixpkgs package indexes: libtool from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - libltdl-dev - 2.4.7-7build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libltdl-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | System independent dlopen wrapper for GNU libtool (headers) | https://www.gnu.org/software/libtool/
- Ubuntu apt - libltdl7 - 2.4.7-7build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libltdl7 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | System independent dlopen wrapper for GNU libtool | https://www.gnu.org/software/libtool/
- Ubuntu apt - libtool - 2.4.7-7build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libtool from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Generic library support script | https://www.gnu.org/software/libtool/
- Ubuntu apt - libtool-bin - 2.4.7-7build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libtool-bin from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Generic library support script (libtool binary) | https://www.gnu.org/software/libtool/
- Ubuntu apt - libtool-doc - 2.4.7-7build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libtool-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Generic library support script (documentation) | https://www.gnu.org/software/libtool/
- apk - libltdl - 2.6.0-r1: normalized package name match | Alpine Linux edge package indexes: libltdl from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Runtime libraries for GNU Libtool Dynamic Module Loader | https://www.gnu.org/software/libtool/
- apk - libltdl-static - 2.6.0-r1: normalized package name match | Alpine Linux edge package indexes: libltdl-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Generic library support script (static library) | https://www.gnu.org/software/libtool/
- apk - libtool - 2.6.0-r1: normalized package name match | Alpine Linux edge package indexes: libtool from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Generic library support script | https://www.gnu.org/software/libtool/
- apk - libtool-doc - 2.6.0-r1: normalized package name match | Alpine Linux edge package indexes: libtool-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Generic library support script (documentation) | https://www.gnu.org/software/libtool/
- dnf - libtool - 2.5.4-10.fc44: normalized package name match | Fedora Rawhide package metadata: libtool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The GNU Portable Library Tool | http://www.gnu.org/software/libtool/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [m4](https://www.automicvault.com/pkg/brew/m4/) - Runtime dependency declared by Homebrew.
- [autotrace](https://www.automicvault.com/pkg/brew/autotrace/) - Popular package that depends on this formula.
- [bochs](https://www.automicvault.com/pkg/brew/bochs/) - Popular package that depends on this formula.
- [cfssl](https://www.automicvault.com/pkg/brew/cfssl/) - Popular package that depends on this formula.
- [collectd](https://www.automicvault.com/pkg/brew/collectd/) - Popular package that depends on this formula.
- [crosstool-ng](https://www.automicvault.com/pkg/brew/crosstool-ng/) - Popular package that depends on this formula.
- [dmtx-utils](https://www.automicvault.com/pkg/brew/dmtx-utils/) - Popular package that depends on this formula.
- [fontforge](https://www.automicvault.com/pkg/brew/fontforge/) - Popular package that depends on this formula.
- [gforth](https://www.automicvault.com/pkg/brew/gforth/) - Popular package that depends on this formula.
- [libsql](https://www.automicvault.com/pkg/brew/libsql/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libstatgrab](https://www.automicvault.com/pkg/brew/libstatgrab/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libstxxl](https://www.automicvault.com/pkg/brew/libstxxl/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libsvm](https://www.automicvault.com/pkg/brew/libsvm/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtar](https://www.automicvault.com/pkg/brew/libtar/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtasn1](https://www.automicvault.com/pkg/brew/libtasn1/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtecla](https://www.automicvault.com/pkg/brew/libtecla/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtensorflow](https://www.automicvault.com/pkg/brew/libtensorflow/) - Shares av.db curated category or tags: cli, not-completed, other.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Local package facts share a topical domain. Shared terms: cli, m4, script.

## Combined YAML source

View the package source record on GitHub. [combined/libtool.yml](https://github.com/automic-vault/db/blob/main/combined/libtool.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
