How to Install and Uninstall yui-compressor Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "yui-compressor" package

This is a short guide on how to install yui-compressor on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install yui-compressor

2. Uninstall "yui-compressor" package

Please follow the guidance below to uninstall yui-compressor on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove yui-compressor $ sudo apt autoclean && sudo apt autoremove

3. Information about the yui-compressor package on Ubuntu 21.10 (Impish Indri)

Package: yui-compressor
Architecture: all
Version: 2.4.8-2.1
Multi-Arch: foreign
Priority: optional
Section: universe/java
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 633
Depends: default-jre-headless | java5-runtime-headless, java-wrappers, libjargs-java
Filename: pool/universe/y/yui-compressor/yui-compressor_2.4.8-2.1_all.deb
Size: 597536
MD5sum: cb0476e0d84381dfeeab5b8db161b948
SHA1: 05e1adb270c816adece83117689216ccede99773
SHA256: 9af6c4d5bacb7d9c2fae0dc099ff10b5c87ac964de86b299cf8268812fc5edf8
SHA512: 796a1c08c62ef2f70187fa5aea61b59d18fa0d7262dda0192c476409756b51f971dc599623f87857f9e1d76da69b33ceb5f5787dd77b698894258c98fe8a80d8
Homepage: http://yuilibrary.com/projects/yuicompressor/
Description-en: JavaScript/CSS minifier
The YUI Compressor is a JavaScript compressor which, in addition to removing
comments and white-spaces, obfuscates local variables using the smallest
possible variable name. This obfuscation is safe, even when using constructs
such as 'eval' or 'with' (although the compression is not optimal is those
cases) Compared to jsmin, the average savings is around 20%.
.
The YUI Compressor is also able to safely compress CSS files. The decision
on which compressor is being used is made on the file extension (js or css).
Description-md5: bd069b00e0a22b6335e050845844bcb7