geninfo command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
geninfo: command not found
or when using sudo you get the following error message
sudo: geninfo: command not found
Solutions to geninfo: command not found
How To Fix geninfo: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu geninfo is provided by lcov package.
lcov is:
LCOV is an extension of GCOV, a GNU tool which provides information about what parts of a program are actually executed (i.e. “covered”) while running a particular test case. The extension consists of a set of Perl scripts which build on the textual GCOV output to implement the following enhanced functionality:
- HTML based output: coverage rates are additionally indicated using bar graphs and specific colors.
- Support for large projects: overview pages allow quick browsing of coverage data by providing three levels of detail: directory view, file view and source code view.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lcov
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lcov.
sudo apt -y install lcov
Or if you have aptitude installed you can use the following command.
sudo aptitude install lcov
Summary
In this tutorial we learn how to fix geninfo command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.