How to Install and Uninstall yui-compressor Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 06,2024

1. Install "yui-compressor" package

This tutorial shows how to install yui-compressor on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install yui-compressor

2. Uninstall "yui-compressor" package

Learn how to uninstall yui-compressor on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the yui-compressor package on Ubuntu 20.10 (Groovy Gorilla)

Package: yui-compressor
Architecture: all
Version: 2.4.8-2
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: 603
Depends: default-jre-headless | java5-runtime-headless, java-wrappers, libjargs-java
Filename: pool/universe/y/yui-compressor/yui-compressor_2.4.8-2_all.deb
Size: 566784
MD5sum: f642357ff8f44223adc8f12d7a42cf13
SHA1: f4620e39cc85006c47617d808018a0246ac9909c
SHA256: dd5b270022513e70fa3b6d0251039740c408441c909f9f5ecd83473ea266686c
SHA512: e6618c1535cd1ff2175fb76fdab5f66f293ce5012ab384031cdd5b8dea8b8f8db1edcf275b83cbb34f7009e9aaa889cbd002aec347353722e41407f6646f6f04
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