Install SASS and Compass on Ubuntu
Emmanuel Gautier / October 19, 2014
2 min read
SASS is a CSS preprocess used by many web projects including Foundation and Bootstrap. It allows generating a CSS style sheet from a language close to CSS syntax.
Why use a CSS preprocessor?
The advantage of using a preprocessor is that these preprocessors are programming languages instead of CSS syntax. This allows structuring your design in files, grouping some style characteristics such as colors, dimensions of blocks in variables, … etc. To summarize using a preprocessor as SASS allows you to organize and maintain simpler the design of your web applications.
Compass is a SASS framework. This framework introduces a set of functions and structures to help you build the design.
SASS and Compass Installation
We will now install SASS and Compass allowing CSS files compilation. Those tools will be used as CLI tools.
First of all, if it is not already the case, you will need to install Ruby:
sudo apt-get install make ruby ruby-dev
From the gem packages manager, we can install the tools:
sudo gem install sass compass
If you want to have the latest versions, you can replace the last command with the following one:
gem install sass compass --pre
Consulting
If you're seeking solutions to a problem or need expert advice, I'm here to help! Don't hesitate to book a call with me for a consulting session. Let's discuss your situation and find the best solution together.
Featured Posts
Introducing new blog on OAuth, OpenID Connect, and IAM Solutions
I'm excited to announce the launch of a new blog named CerberAuth, where I'll be exploring the world of OAuth, OpenID Connect, and IAM solutions for modern security.
MySQL Docker Image for Mac ARM M1
MySQL official Docker image is not available for Apple ARM-based M1 and M2 CPUs. But there is some options to use mysql image on Mac and more globally on ARMv8 microarchitecture.
How to deal with Docker Hub rate limit on AWS
Since 2020, DockerHub has been limited to only 200 container image pull requests per six hours. This article will help you to deal with this limitation on AWS.