How to Install and Uninstall libjs-uglify Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 03,2024

1. Install "libjs-uglify" package

Here is a brief guide to show you how to install libjs-uglify on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libjs-uglify

2. Uninstall "libjs-uglify" package

Learn how to uninstall libjs-uglify on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libjs-uglify $ sudo apt autoclean && sudo apt autoremove

3. Information about the libjs-uglify package on Ubuntu 21.04 (Hirsute Hippo)

Package: libjs-uglify
Architecture: all
Version: 2.8.29-8
Priority: optional
Section: universe/web
Source: uglifyjs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 266
Filename: pool/universe/u/uglifyjs/libjs-uglify_2.8.29-8_all.deb
Size: 65316
MD5sum: 7a4db29a36852f1f69012ef9e9c4133b
SHA1: a4ec22fe3bf47e6c2e47c7200568845f1f388bd1
SHA256: 64af046ae1ed3568e32571d336d65739b0eabad235d26ad97388bfefd3948dee
SHA512: 289c92cdba19f6d9f5a279833ace328b6ed858e0fdc1e4cb6c6a0eb9a7664a0652c4de44d6db1066a23b7dbdbea141cc6fccb171a0522356831a13da21c3fbbe
Homepage: http://lisperator.net/uglifyjs/
Description-en: UglifyJS in library form
UglifyJS is a JavaScript compressor/minifier written in JavaScript. It
also contains tools that allow one to automate working with JavaScript
code:
.
* A parser which produces an abstract syntax tree (AST) from
JavaScript code.
* A code generator which outputs JavaScript code from an AST, also
providing the option to get a source map.
* A compressor (optimizer) - it uses the transformer API to optimize
an AST into a smaller one.
* A mangler - reduce names of local variables to (usually)
single-letters.
* A scope analyzer, which is a tool that augments the AST with
information about where variables are defined/referenced etc.
* A tree walker - a simple API allowing you to do something on every
node in the AST.
* A tree transformer - another API intended to transform the tree.
.
All the above utilities and APIs are defined in ~6500 lines of code
(except for the effective generation of the source-map, which is
handled by the source-map module). Compared to alternatives, UglifyJS
is pretty small.
.
This package provides UglifyJS in library form for use by other Javascript
packages and web applications.
.
NB! This package is deprecated!
Please consider using libjs-uglify-js instead.
Description-md5: a74d652e69639b6fdc4484d811dca661