How To Install multitime on Debian 11

In this tutorial we learn how to install multitime on Debian 11. multitime is time-like tool which does multiple runs

Introduction

In this tutorial we learn how to install multitime on Debian 11.

What is multitime

multitime is:

Unix’s time utility is a simple and often effective way of measuring how long a command takes to run (“wall time”). Unfortunately, running a command once can give misleading timings: the process may create a cache on its first execution, running faster subsequently; other processes may cause the command to be starved of CPU or IO time; etc. It is common to see people run time several times and take whichever values they feel most comfortable with. Inevitably, this causes problems.

multitime is, in essence, a simple extension to time which runs a command multiple times and prints the timing means, standard deviations, mins, medians, and maxes having done so. This can give a much better understanding of the command’s performance.

There are three methods to install multitime on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install multitime Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install multitime using apt-get by running the following command:

sudo apt-get -y install multitime

Install multitime Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install multitime using apt by running the following command:

sudo apt -y install multitime

Install multitime 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 multitime using aptitude by running the following command:

sudo aptitude -y install multitime

How To Uninstall multitime on Debian 11

To uninstall only the multitime package we can use the following command:

sudo apt-get remove multitime

Uninstall multitime And Its Dependencies

To uninstall multitime and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove multitime

Remove multitime Configurations and Data

To remove multitime configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge multitime

Remove multitime configuration, data, and all of its dependencies

We can use the following command to remove multitime configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge multitime

Dependencies

multitime have the following dependencies:

References

Summary

In this tutorial we learn how to install multitime package on Debian 11 using different package management tools: apt, apt-get and aptitude.