How To Install mini-dinstall on Kali Linux

In this tutorial we learn how to install mini-dinstall on Kali Linux. mini-dinstall is daemon for updating Debian packages in a repository

Introduction

In this tutorial we learn how to install mini-dinstall on Kali Linux.

What is mini-dinstall

mini-dinstall is:

This program implements a miniature version of the “dinstall” program which installs packages in the Debian archive. It doesn’t require a PostgreSQL database, and is very easy to set up, maintain, and use. mini-dinstall can be run via cron, or as a daemon.

This package is expressly designed for personal apt repositories, and the like. In this vein, it contains fewer sanity checks; for example, it will happily install a lower version of a package. You can also generally just ‘rm’ files from the repository, and mini-dinstall won’t care. In fact, (when run as a daemon) it will automatically detect that the directory changed, and update the Packages file.

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

Install mini-dinstall Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mini-dinstall

Install mini-dinstall Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mini-dinstall

Install mini-dinstall Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install mini-dinstall using aptitude by running the following command:

sudo aptitude -y install mini-dinstall

How To Uninstall mini-dinstall on Kali Linux

To uninstall only the mini-dinstall package we can use the following command:

sudo apt-get remove mini-dinstall

Uninstall mini-dinstall And Its Dependencies

To uninstall mini-dinstall and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove mini-dinstall

Remove mini-dinstall Configurations and Data

To remove mini-dinstall configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge mini-dinstall

Remove mini-dinstall configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mini-dinstall

Dependencies

mini-dinstall have the following dependencies:

References

Summary

In this tutorial we learn how to install mini-dinstall package on Kali Linux using different package management tools: apt, apt-get and aptitude.