binstats command not found

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

Introduction

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

binstats: command not found

or when using sudo you get the following error message

sudo: binstats: command not found

Solutions to binstats: command not found

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

In Ubuntu binstats is provided by binstats package.

binstats is:

A utility to aid the tidying up of binaries, interpreted scripts, and dynamic libraries. It can find the number and identity of a.out and ELF binaries, plus their debugging symbols status, setuid status, and dynamic library dependence. It can count the number of Java bytecode programs, tally up the main types of scripts, and look for unidentified executable text files.

Also it is able to find any duplicated executable names, unused libraries, binaries with missing libraries, statically linked binaries, and duplicated manual page names.

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

sudo apt-get -y install binstats

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

You can also use apt command to install binstats.

sudo apt -y install binstats

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

sudo aptitude install binstats

Summary

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