sass2css command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sass2css: command not found
or when using sudo you get the following error message
sudo: sass2css: command not found
Solutions to sass2css: command not found
How To Fix sass2css: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sass2css is provided by libtext-sass-perl package.
libtext-sass-perl is:
Sass is a meta-language on top of CSS that’s used to describe the style of a document cleanly and structurally, with more power than flat CSS allows. Sass both provides a simpler, more elegant syntax for CSS and implements various features that are useful for creating manageable stylesheets.
Text::Sass is a Perl implementation of Sass.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libtext-sass-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libtext-sass-perl.
sudo apt -y install libtext-sass-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libtext-sass-perl
Summary
In this tutorial we learn how to fix sass2css command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.