How To Install makeself on Debian 10
Introduction
In this tutorial we learn how to install makeself
on Debian 10.
What is makeself
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!).
There are three methods to install makeself
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install makeself Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install makeself
using apt-get
by running the following command:
sudo apt-get -y install makeself
Install makeself Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install makeself
using apt
by running the following command:
sudo apt -y install makeself
Install makeself Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install makeself
using aptitude
by running the following command:
sudo aptitude -y install makeself
How To Uninstall makeself on Debian 10
To uninstall only the makeself
package we can use the following command:
sudo apt-get remove makeself
Uninstall makeself And Its Dependencies
To uninstall makeself
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove makeself
Remove makeself Configurations and Data
To remove makeself
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge makeself
Remove makeself configuration, data, and all of its dependencies
We can use the following command to remove makeself
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge makeself
Dependencies
makeself have the following dependencies:
References
Summary
In this tutorial we learn how to install makeself
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.