makeself command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
makeself: command not found
or when using sudo you get the following error message
sudo: makeself: command not found
Solutions to makeself: command not found
How To Fix makeself: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu makeself is provided by makeself package.
makeself is:
makeself is a small shell script that generates a self-extractable archive from a directory. The resulting file appears as a shell script (many of those have a .run suffix), and can be launched as is. The archive will then uncompress itself to a temporary directory and an optional arbitrary command will be executed (for example an installation script). This is pretty similar to archives generated with WinZip Self-Extractor in the Windows world. Makeself archives also include checksums for integrity self-validation (CRC and/or MD5 checksums).
The makeself script itself is used only to create the archives from a directory of files. The resultant archive is actually a compressed (using gzip, bzip2, or compress) TAR archive, with a small shell script stub at the beginning. This small stub performs all the steps of extracting the files, running the embedded command, and removing the temporary files when it’s all over. All what the user has to do to install the software contained in such an archive is to “run” the archive, i.e. sh nice-software.run. It is recommended to use the “run” (which was introduced by some Makeself archives released by Loki Software) or “sh” suffix for such archives not to confuse the users, since they actually are shell scripts (with quite a lot of binary data attached to it though!).
To fix this problem, we can install more using the command below.
sudo apt-get -y install makeself
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install makeself.
sudo apt -y install makeself
Or if you have aptitude installed you can use the following command.
sudo aptitude install makeself
Summary
In this tutorial we learn how to fix makeself command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.