Quantcast
Channel: Drup.org - Ubuntu
Viewing all articles
Browse latest Browse all 19

Installing libsass on Ubuntu

$
0
0

The most minimal way of doing an installation is using sassc, the C binding.

apt install git build-essential
cd /opt
git clone https://github.com/sass/libsass.git
git clone https://github.com/sass/sassc.git libsass/sassc
echo 'SASS_LIBSASS_PATH="/opt/libsass"'>> /etc/environment
source /etc/environment
echo $SASS_LIBSASS_PATH # Make sure it worked…
cd libsass/sassc
make
ln -sn /opt/libsass/sassc/bin/sassc /usr/local/bin/

sassc file.scss file.css # run like this

read more


Viewing all articles
Browse latest Browse all 19

Trending Articles