libtoolize command not found

In this troubleshooting guide we learn how to fix libtoolize command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

libtoolize: command not found

or when using sudo you get the following error message

sudo: libtoolize: command not found

Solutions to libtoolize: command not found

How To Fix libtoolize: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu libtoolize is provided by libtool package.

libtool 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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libtool

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libtool.

sudo apt -y install libtool

Or if you have aptitude installed you can use the following command.

sudo aptitude install libtool

Summary

In this tutorial we learn how to fix libtoolize command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.