How To Install ben on Kali Linux

In this tutorial we learn how to install ben on Kali Linux. ben is toolbox for Debian maintainers

Introduction

In this tutorial we learn how to install ben on Kali Linux.

What is ben

ben is:

This is a collection of useful tools that Debian maintainers can use to make their packaging work easier. They all work with regular Debian package list files, and should be useful for Debian derivatives as well. This package ships a single executable, “ben”, with the following subcommands:

  • download: download a set of package list files from a mirror
  • monitor: monitor the status of a set of packages across several architectures (useful for transitions)
  • query: query packages using their metadata (similar to grep-dctrl, but uses a dedicated query language)
  • tracker: frontend to multiple monitors

There are three methods to install ben 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 ben Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ben

Install ben Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ben

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

sudo aptitude -y install ben

How To Uninstall ben on Kali Linux

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

sudo apt-get remove ben

Uninstall ben And Its Dependencies

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

sudo apt-get -y autoremove ben

Remove ben Configurations and Data

To remove ben configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge ben

Remove ben configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ben

Dependencies

ben have the following dependencies:

References

Summary

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