How To Install tini on Debian 10
Introduction
In this tutorial we learn how to install tini
on Debian 10.
What is tini
tini is:
Tini is the simplest init you could think of.
All Tini does is spawn a single child (Tini is meant to be run in a container), and wait for it to exit all the while reaping zombies and performing signal forwarding.
There are three methods to install tini
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 tini Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install tini
using apt-get
by running the following command:
sudo apt-get -y install tini
Install tini Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install tini
using apt
by running the following command:
sudo apt -y install tini
Install tini 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 tini
using aptitude
by running the following command:
sudo aptitude -y install tini
How To Uninstall tini on Debian 10
To uninstall only the tini
package we can use the following command:
sudo apt-get remove tini
Uninstall tini And Its Dependencies
To uninstall tini
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove tini
Remove tini Configurations and Data
To remove tini
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge tini
Remove tini configuration, data, and all of its dependencies
We can use the following command to remove tini
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tini
Dependencies
tini have the following dependencies:
References
Summary
In this tutorial we learn how to install tini
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.