htmlmin command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
htmlmin: command not found
or when using sudo you get the following error message
sudo: htmlmin: command not found
Solutions to htmlmin: command not found
How To Fix htmlmin: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu htmlmin is provided by htmlmin package.
htmlmin is:
Command line interface for python-htmlmin.
htmlmin is an HTML minifier that just works. It comes with safe defaults and an easily configurable set options.
To fix this problem, we can install more using the command below.
sudo apt-get -y install htmlmin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install htmlmin.
sudo apt -y install htmlmin
Or if you have aptitude installed you can use the following command.
sudo aptitude install htmlmin
Summary
In this tutorial we learn how to fix htmlmin command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.