mini-dinstall command not found

In this troubleshooting guide we learn how to fix mini-dinstall command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mini-dinstall: command not found

or when using sudo you get the following error message

sudo: mini-dinstall: command not found

Solutions to mini-dinstall: command not found

How To Fix mini-dinstall: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mini-dinstall is provided by mini-dinstall package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install mini-dinstall

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mini-dinstall.

sudo apt -y install mini-dinstall

Or if you have aptitude installed you can use the following command.

sudo aptitude install mini-dinstall

Summary

In this tutorial we learn how to fix mini-dinstall command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.