highlight command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
highlight: command not found
or when using sudo you get the following error message
sudo: highlight: command not found
Solutions to highlight: command not found
How To Fix highlight: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu highlight is provided by highlight package.
highlight is:
A utility that converts sourcecode to HTML, XHTML, RTF, LaTeX, TeX, SVG, XML or terminal escape sequences with syntax highlighting. It supports several programming and markup languages. Language descriptions are configurable and support regular expressions. The utility offers indentation and reformatting capabilities. It is easily possible to create new language definitions and colour themes.
To fix this problem, we can install more using the command below.
sudo apt-get -y install highlight
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install highlight.
sudo apt -y install highlight
Or if you have aptitude installed you can use the following command.
sudo aptitude install highlight
Summary
In this tutorial we learn how to fix highlight command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.