libtool command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
libtool: command not found
or when using sudo you get the following error message
sudo: libtool: command not found
Solutions to libtool: command not found
How To Fix libtool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu libtool is provided by libtool-bin package.
libtool-bin is:
This is GNU libtool, a generic library support script. Libtool hides the complexity of generating special library types (such as shared libraries) behind a consistent interface. To use libtool, add the new generic library building commands to your Makefile, Makefile.in, or Makefile.am. See the documentation for details. Libtool supports building static libraries on all platforms.
Libtool supports generation of C, C++, Fortran and Java libraries.
This package contains the libtool binary only.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libtool-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libtool-bin.
sudo apt -y install libtool-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install libtool-bin
Summary
In this tutorial we learn how to fix libtool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.