How To Install perl-CSS-Squish on CentOS 7

In this tutorial we learn how to install perl-CSS-Squish on CentOS 7. perl-CSS-Squish is Compact many CSS files into one big file

Introduction

In this tutorial we learn how to install perl-CSS-Squish on CentOS 7.

What is perl-CSS-Squish

This module takes a list of CSS files and concatenates them, making sure to honor any valid @import statements included in the files.

We can use yum or dnf to install perl-CSS-Squish on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-CSS-Squish.

Install perl-CSS-Squish on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-CSS-Squish using yum by running the following command:

sudo yum -y install perl-CSS-Squish

Install perl-CSS-Squish on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-CSS-Squish using dnf by running the following command:

sudo dnf -y install perl-CSS-Squish

How To Uninstall perl-CSS-Squish on CentOS 7

To uninstall only the perl-CSS-Squish package we can use the following command:

sudo dnf remove perl-CSS-Squish

References

Summary

In this tutorial we learn how to install perl-CSS-Squish on CentOS 7 using yum and dnf.