skylighting command not found

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

Introduction

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

skylighting: command not found

or when using sudo you get the following error message

sudo: skylighting: command not found

Solutions to skylighting: command not found

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

In Ubuntu skylighting is provided by skylighting package.

skylighting is:

Skylighting is a syntax highlighting library with support for over one hundred languages. It derives its tokenizers from XML syntax definitions used by KDE’s KSyntaxHighlighting framework, so any syntax supported by that framework can be added. An optional command-line program is provided. Skylighting is intended to be the successor to highlighting-kate.

This is a command-line tool that can output HTML and LaTeX.

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

sudo apt-get -y install skylighting

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

You can also use apt command to install skylighting.

sudo apt -y install skylighting

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

sudo aptitude install skylighting

Summary

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