How To Install sass-spec-data on Ubuntu 18.04

In this tutorial we learn how to install sass-spec-data on Ubuntu 18.04. sass-spec-data is testsuite for Sass - data files

Introduction

In this tutorial we learn how to install sass-spec-data on Ubuntu 18.04.

What is sass-spec-data

sass-spec-data is:

Sass makes CSS fun again. Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more.

sass-spec is a testsuite verified against the original ruby-sass, which should succeed for alternative implementations as well.

This package provides data files for sass-spec.

There are three methods to install sass-spec-data on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install sass-spec-data Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install sass-spec-data using apt-get by running the following command:

sudo apt-get -y install sass-spec-data

Install sass-spec-data Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sass-spec-data using apt by running the following command:

sudo apt -y install sass-spec-data

Install sass-spec-data Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install sass-spec-data using aptitude by running the following command:

sudo aptitude -y install sass-spec-data

How To Uninstall sass-spec-data on Ubuntu 18.04

To uninstall only the sass-spec-data package we can use the following command:

sudo apt-get remove sass-spec-data

Uninstall sass-spec-data And Its Dependencies

To uninstall sass-spec-data and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove sass-spec-data

Remove sass-spec-data Configurations and Data

To remove sass-spec-data configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge sass-spec-data

Remove sass-spec-data configuration, data, and all of its dependencies

We can use the following command to remove sass-spec-data configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge sass-spec-data

References

Summary

In this tutorial we learn how to install sass-spec-data package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.