hamlit command not found

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

Introduction

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

hamlit: command not found

or when using sudo you get the following error message

sudo: hamlit: command not found

Solutions to hamlit: command not found

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

In Ubuntu hamlit is provided by ruby-hamlit package.

ruby-hamlit is:

Hamlit is another implementation of Haml, a Ruby HTML abstraction markup language. With some limitations by design for performance, Hamlit is much faster (up to about 8 times) than original haml gem in some benchmarks.

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

sudo apt-get -y install ruby-hamlit

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

You can also use apt command to install ruby-hamlit.

sudo apt -y install ruby-hamlit

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

sudo aptitude install ruby-hamlit

Summary

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