sliceprint command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sliceprint: command not found
or when using sudo you get the following error message
sudo: sliceprint: command not found
Solutions to sliceprint: command not found
How To Fix sliceprint: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sliceprint is provided by enscript package.
enscript is:
GNU Enscript takes ASCII files (often source code) and converts them to PostScript, HTML or RTF. It can store generated output to a file or send it directly to the printer.
It is often used for its syntax highlighting, as it comes with rules for a wide range of programming languages. New rules can be added using an awk-like stateful scripting language.
To fix this problem, we can install more using the command below.
sudo apt-get -y install enscript
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install enscript.
sudo apt -y install enscript
Or if you have aptitude installed you can use the following command.
sudo aptitude install enscript
Summary
In this tutorial we learn how to fix sliceprint command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.