slice command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
slice: command not found
or when using sudo you get the following error message
sudo: slice: command not found
Solutions to slice: command not found
How To Fix slice: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu slice is provided by slice package.
slice is:
The slice program reads an input file and divide its prepared ASCII contents into possibly overlapping slices. These slices are determined by enclosing blocks which are defined by begin and end delimiters which have to be already in the file. The final output gets calculated by a slice term consisting of slice names, set theory operators and optional round brackets.
To fix this problem, we can install more using the command below.
sudo apt-get -y install slice
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install slice.
sudo apt -y install slice
Or if you have aptitude installed you can use the following command.
sudo aptitude install slice
Summary
In this tutorial we learn how to fix slice command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.