How To Install libcss-squish-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libcss-squish-perl
on Ubuntu 18.04.
What is libcss-squish-perl
libcss-squish-perl is:
CSS::Squish is a Perl module that takes a list of CSS files and concatenates them, honouring any valid @import statements included in the files, following the CSS 2.1 specification. Media-specific @import statements will be honoured by enclosing the included file in a @media rule.
Future versions may include methods to compact whitespace and other parts of the CSS itself, but this functionality is not yet supported.
There are three methods to install libcss-squish-perl
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 libcss-squish-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libcss-squish-perl
using apt-get
by running the following command:
sudo apt-get -y install libcss-squish-perl
Install libcss-squish-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcss-squish-perl
using apt
by running the following command:
sudo apt -y install libcss-squish-perl
Install libcss-squish-perl 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 libcss-squish-perl
using aptitude
by running the following command:
sudo aptitude -y install libcss-squish-perl
How To Uninstall libcss-squish-perl on Ubuntu 18.04
To uninstall only the libcss-squish-perl
package we can use the following command:
sudo apt-get remove libcss-squish-perl
Uninstall libcss-squish-perl And Its Dependencies
To uninstall libcss-squish-perl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libcss-squish-perl
Remove libcss-squish-perl Configurations and Data
To remove libcss-squish-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libcss-squish-perl
Remove libcss-squish-perl configuration, data, and all of its dependencies
We can use the following command to remove libcss-squish-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcss-squish-perl
References
Summary
In this tutorial we learn how to install libcss-squish-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.