source-highlight-settings command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
source-highlight-settings: command not found
or when using sudo you get the following error message
sudo: source-highlight-settings: command not found
Solutions to source-highlight-settings: command not found
How To Fix source-highlight-settings: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu source-highlight-settings is provided by source-highlight package.
source-highlight is:
This program, given a source file, produces a document with syntax highlighting.
It supports syntax highlighting for over 100 file formats, including major programming languages, markup formats, and configuration file formats. For output, the following formats are supported: HTML, XHTML, LaTeX, Texinfo, ANSI color escape sequences, and DocBook.
To fix this problem, we can install more using the command below.
sudo apt-get -y install source-highlight
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install source-highlight.
sudo apt -y install source-highlight
Or if you have aptitude installed you can use the following command.
sudo aptitude install source-highlight
Summary
In this tutorial we learn how to fix source-highlight-settings command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.