ben command not found

In this troubleshooting guide we learn how to fix ben command not found error message

Introduction

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

ben: command not found

or when using sudo you get the following error message

sudo: ben: command not found

Solutions to ben: command not found

How To Fix ben: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ben is provided by ben package.

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

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

sudo apt-get -y install ben

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

You can also use apt command to install ben.

sudo apt -y install ben

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

sudo aptitude install ben

Summary

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