ohcount command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ohcount: command not found
or when using sudo you get the following error message
sudo: ohcount: command not found
Solutions to ohcount: command not found
How To Fix ohcount: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ohcount is provided by ohcount package.
ohcount is:
Ohcount supports over 70 popular programming languages. Ohcount does more than just count lines of code. It can also detect popular open source licenses such as GPL within a large directory of source code. It can also detect code that targets a particular programming API, such as Win32 or KDE. Ohcount is the line counter which powers http://www.openhub.net/
To fix this problem, we can install more using the command below.
sudo apt-get -y install ohcount
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ohcount.
sudo apt -y install ohcount
Or if you have aptitude installed you can use the following command.
sudo aptitude install ohcount
Summary
In this tutorial we learn how to fix ohcount command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.