slimit command not found

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

Introduction

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

slimit: command not found

or when using sudo you get the following error message

sudo: slimit: command not found

Solutions to slimit: command not found

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

In Ubuntu slimit is provided by slimit package.

slimit is:

SlimIt is a JavaScript minifier written in Python. It compiles JavaScript into more compact code so that it downloads and runs faster.

SlimIt also provides a library that includes a JavaScript parser, lexer, pretty printer and a tree visitor.

This package contains the executable.

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

sudo apt-get -y install slimit

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

You can also use apt command to install slimit.

sudo apt -y install slimit

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

sudo aptitude install slimit

Summary

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