How To Install perl-JavaScript-Minifier on Fedora 36
Introduction
In this tutorial we learn how to install perl-JavaScript-Minifier
on Fedora 36.
What is perl-JavaScript-Minifier
This module removes unnecessary white space from JavaScript code. The primary requirement developing this module is to not break working code output. It is O.K. if the input has missing semi-colons, snips like ‘++ +’ or ‘12 .toString()’, for example. Internet Explorer conditional comments are copied to the output but the code inside these comments will not be minified.
We can use yum
or dnf
to install perl-JavaScript-Minifier
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-JavaScript-Minifier.
Install perl-JavaScript-Minifier on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-JavaScript-Minifier
using dnf
by running the following command:
sudo dnf -y install perl-JavaScript-Minifier
Install perl-JavaScript-Minifier on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-JavaScript-Minifier
using yum
by running the following command:
sudo yum -y install perl-JavaScript-Minifier
How To Uninstall perl-JavaScript-Minifier on Fedora 36
To uninstall only the perl-JavaScript-Minifier
package we can use the following command:
sudo dnf remove perl-JavaScript-Minifier
perl-JavaScript-Minifier Package Contents on Fedora 36
/usr/share/doc/perl-JavaScript-Minifier
/usr/share/doc/perl-JavaScript-Minifier/Changes
/usr/share/doc/perl-JavaScript-Minifier/README
/usr/share/doc/perl-JavaScript-Minifier/examples
/usr/share/doc/perl-JavaScript-Minifier/examples/minify.pl
/usr/share/man/man3/JavaScript::Minifier.3pm.gz
/usr/share/perl5/vendor_perl/JavaScript
/usr/share/perl5/vendor_perl/JavaScript/Minifier.pm
References
Summary
In this tutorial we learn how to install perl-JavaScript-Minifier
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).