< Home - < Back

yuicompressor


Information about the package, yuicompressor, which is shipped with common Linux distributions. The yuicompressor package is designed for, YUI Compressor - The Yahoo JavaScript and CSS Compressor.


Package Name:

yuicompressor

Summary:

YUI Compressor - The Yahoo JavaScript and CSS Compressor

Description:

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 in 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).

Architecture:

noarch

Version:

2.4.8

Release:

1.el6

Size:

583 k

Repository:

epel

From Repository:

Licence:

BSD and (MPLv1.1 or GPLv2+)



Handy Yum Commands for yuicompressor


Control the yuicompressor package with the following handy commands outlined below.


Command

Description of Command

yum install yuicompressor

This command will install yuicompressor on the server.

yum remove yuicompressor

This command will un-install yuicompressor on the server. When you run this command, you will be asked if you are sure that you want to remove yuicompressor, so you have to manually confirm that you want to do this.

yum -y remove yuicompressor

This command will un-install yuicompressor on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove yuicompressor when using the -y flag.

yum update yuicompressor

This command will update yuicompressor to the latest version. When you run this command, you will be asked if you are sure that you want to remove yuicompressor, so you have to manually confirm that you want to do this.

yum -y update yuicompressor

This command will update yuicompressor to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove yuicompressor when using the -y flag.

yum info yuicompressor

This command will show you core information about the yuicompressor package.

yum deplist yuicompressor

This command will show you the dependencies for yuicompressor. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update yuicompressor

This command will check if there is an update waiting on yuicompressor. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.