Ways to Uninstall or Install tini Ubuntu 22.04

Updated: October 7, 2022

Tini is the simplest init you could think of. I will show you how to install tini on Ubuntu 22.04 in this guide.

Requirements to install

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install tini on Ubuntu 22.04

Install tini Ubuntu 22.04

tini is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install tini using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to get tini on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:

sudo apt update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install tini Ubuntu by executing this command in the terminal.

sudo apt install tini

Install tini using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get install aptitude

After that, you can now install tini by following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install tini Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude -y install tini

Uninstall tini on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a tini, can be easily uninstalled by anyone.

If you installed tini using APT or Aptitude, you could uninstall tini on Ubuntu by following this step:

sudo apt remove --auto-remove tini

If you want to uninstall tini and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge tini

Ending

In this guide, I showed you ways to install tini on Ubuntu 22.04 and ways to uninstall tini too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.