How To Install compass-normalize-plugin on Ubuntu 18.04

In this tutorial we learn how to install compass-normalize-plugin on Ubuntu 18.04. compass-normalize-plugin is Sass version of Normalize.css

Introduction

In this tutorial we learn how to install compass-normalize-plugin on Ubuntu 18.04.

What is compass-normalize-plugin

compass-normalize-plugin is:

Normalize-scss is a Sass version of Normalize.css.

Normalize.css is a collection of HTML element and attribute rulesets to normalize styles across all browsers:

  • Preserves useful defaults, unlike many CSS resets.
  • Normalizes styles for a wide range of elements.
  • Corrects bugs and common browser inconsistencies.
  • Improves usability with subtle modifications.
  • Explains what code does using detailed comments.

Normalize-scss aims to use a light dusting of Sass to make Normalize even easier to integrate with your website. It currently adds:

  • Vertical rhythm mixins: Allowing you to alter the font-size, line-height and margins in Normalize’s output without hacking the library.
  • Optional Eyeglass support.
  • Several ready-to-fork versions that integrate typography Sass modules like Typey, style guides built with KSS, or the legacy Compass module.

Sass is a pre-processing language for CSS. It allows you to write cleaner stylesheets and makes collaboration on your CSS a breeze.

There are three methods to install compass-normalize-plugin 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 compass-normalize-plugin Using apt-get

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

sudo apt-get update

After updating apt database, We can install compass-normalize-plugin using apt-get by running the following command:

sudo apt-get -y install compass-normalize-plugin

Install compass-normalize-plugin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install compass-normalize-plugin using apt by running the following command:

sudo apt -y install compass-normalize-plugin

Install compass-normalize-plugin 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 compass-normalize-plugin using aptitude by running the following command:

sudo aptitude -y install compass-normalize-plugin

How To Uninstall compass-normalize-plugin on Ubuntu 18.04

To uninstall only the compass-normalize-plugin package we can use the following command:

sudo apt-get remove compass-normalize-plugin

Uninstall compass-normalize-plugin And Its Dependencies

To uninstall compass-normalize-plugin and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove compass-normalize-plugin

Remove compass-normalize-plugin Configurations and Data

To remove compass-normalize-plugin configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge compass-normalize-plugin

Remove compass-normalize-plugin configuration, data, and all of its dependencies

We can use the following command to remove compass-normalize-plugin configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge compass-normalize-plugin

References

Summary

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