How To Install uglify-js on Rocky Linux 8

In this tutorial we learn how to install uglify-js on Rocky Linux 8. uglify-js is JavaScript parser, mangler/compressor and beautifier toolkit

Introduction

In this tutorial we learn how to install uglify-js on Rocky Linux 8.

What is uglify-js

JavaScript parser, mangler/compressor and beautifier toolkit. This package ships the uglifyjs command-line tool and a library suitable for use within Node.js.

We can use yum or dnf to install uglify-js on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install uglify-js.

Install uglify-js on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install uglify-js using dnf by running the following command:

sudo dnf -y install uglify-js

Install uglify-js on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install uglify-js using yum by running the following command:

sudo yum -y install uglify-js

How To Uninstall uglify-js on Rocky Linux 8

To uninstall only the uglify-js package we can use the following command:

sudo dnf remove uglify-js

uglify-js Package Contents on Rocky Linux 8

/usr/bin/uglifyjs
/usr/lib/node_modules/uglify-js
/usr/lib/node_modules/uglify-js@2
/usr/lib/node_modules/uglify-js@2/bin
/usr/lib/node_modules/uglify-js@2/bin/extract-props.js
/usr/lib/node_modules/uglify-js@2/bin/uglifyjs
/usr/lib/node_modules/uglify-js@2/lib
/usr/lib/node_modules/uglify-js@2/node_modules
/usr/lib/node_modules/uglify-js@2/node_modules/.bin
/usr/lib/node_modules/uglify-js@2/node_modules/.bin/_mocha
/usr/lib/node_modules/uglify-js@2/node_modules/.bin/acorn
/usr/lib/node_modules/uglify-js@2/node_modules/.bin/jade
/usr/lib/node_modules/uglify-js@2/node_modules/.bin/mkdirp
/usr/lib/node_modules/uglify-js@2/node_modules/.bin/mocha
/usr/lib/node_modules/uglify-js@2/node_modules/.bin/supports-color
/usr/lib/node_modules/uglify-js@2/node_modules/acorn
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/AUTHORS
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/CHANGELOG.md
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/bin
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/bin/acorn
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/dist
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/dist/.keep
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/dist/acorn.es.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/dist/acorn.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/dist/acorn_loose.es.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/dist/acorn_loose.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/dist/walk.es.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/dist/walk.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/.eslintrc
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/bin
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/bin/.eslintrc
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/bin/acorn.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/expression.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/identifier.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/location.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/locutil.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/loose
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/loose/expression.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/loose/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/loose/parseutil.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/loose/state.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/loose/statement.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/loose/tokenize.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/lval.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/node.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/options.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/parseutil.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/scope.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/state.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/statement.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/tokencontext.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/tokenize.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/tokentype.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/util.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/walk
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/walk/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/acorn/src/whitespace.js
/usr/lib/node_modules/uglify-js@2/node_modules/align-text
/usr/lib/node_modules/uglify-js@2/node_modules/align-text/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/align-text/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/align-text/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/align-text/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/camelcase
/usr/lib/node_modules/uglify-js@2/node_modules/camelcase/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/camelcase/license
/usr/lib/node_modules/uglify-js@2/node_modules/camelcase/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/camelcase/readme.md
/usr/lib/node_modules/uglify-js@2/node_modules/center-align
/usr/lib/node_modules/uglify-js@2/node_modules/center-align/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/center-align/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/center-align/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/center-align/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/center-align/utils.js
/usr/lib/node_modules/uglify-js@2/node_modules/cliui
/usr/lib/node_modules/uglify-js@2/node_modules/cliui/.coveralls.yml
/usr/lib/node_modules/uglify-js@2/node_modules/cliui/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/cliui/.travis.yml
/usr/lib/node_modules/uglify-js@2/node_modules/cliui/LICENSE.txt
/usr/lib/node_modules/uglify-js@2/node_modules/cliui/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/cliui/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/cliui/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/cliui/test
/usr/lib/node_modules/uglify-js@2/node_modules/cliui/test/cliui.js
/usr/lib/node_modules/uglify-js@2/node_modules/commander
/usr/lib/node_modules/uglify-js@2/node_modules/commander/Readme.md
/usr/lib/node_modules/uglify-js@2/node_modules/commander/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/commander/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/debug
/usr/lib/node_modules/uglify-js@2/node_modules/debug/.jshintrc
/usr/lib/node_modules/uglify-js@2/node_modules/debug/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/debug/History.md
/usr/lib/node_modules/uglify-js@2/node_modules/debug/Makefile
/usr/lib/node_modules/uglify-js@2/node_modules/debug/Readme.md
/usr/lib/node_modules/uglify-js@2/node_modules/debug/bower.json
/usr/lib/node_modules/uglify-js@2/node_modules/debug/browser.js
/usr/lib/node_modules/uglify-js@2/node_modules/debug/component.json
/usr/lib/node_modules/uglify-js@2/node_modules/debug/debug.js
/usr/lib/node_modules/uglify-js@2/node_modules/debug/node.js
/usr/lib/node_modules/uglify-js@2/node_modules/debug/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/decamelize
/usr/lib/node_modules/uglify-js@2/node_modules/decamelize/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/decamelize/license
/usr/lib/node_modules/uglify-js@2/node_modules/decamelize/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/decamelize/readme.md
/usr/lib/node_modules/uglify-js@2/node_modules/diff
/usr/lib/node_modules/uglify-js@2/node_modules/diff/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/diff/diff.js
/usr/lib/node_modules/uglify-js@2/node_modules/diff/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/escape-string-regexp
/usr/lib/node_modules/uglify-js@2/node_modules/escape-string-regexp/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/escape-string-regexp/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/escape-string-regexp/readme.md
/usr/lib/node_modules/uglify-js@2/node_modules/glob
/usr/lib/node_modules/uglify-js@2/node_modules/glob/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/glob/.travis.yml
/usr/lib/node_modules/uglify-js@2/node_modules/glob/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/glob/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/glob/examples
/usr/lib/node_modules/uglify-js@2/node_modules/glob/examples/g.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/examples/usr-local.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/glob.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/00-setup.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/bash-comparison.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/bash-results.json
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/cwd-test.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/globstar-match.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/mark.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/nocase-nomagic.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/pause-resume.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/root-nomount.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/root.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/stat.js
/usr/lib/node_modules/uglify-js@2/node_modules/glob/test/zz-cleanup.js
/usr/lib/node_modules/uglify-js@2/node_modules/graceful-fs
/usr/lib/node_modules/uglify-js@2/node_modules/graceful-fs/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/graceful-fs/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/graceful-fs/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/graceful-fs/graceful-fs.js
/usr/lib/node_modules/uglify-js@2/node_modules/graceful-fs/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/graceful-fs/polyfills.js
/usr/lib/node_modules/uglify-js@2/node_modules/graceful-fs/test
/usr/lib/node_modules/uglify-js@2/node_modules/graceful-fs/test/open.js
/usr/lib/node_modules/uglify-js@2/node_modules/graceful-fs/test/readdir-sort.js
/usr/lib/node_modules/uglify-js@2/node_modules/growl
/usr/lib/node_modules/uglify-js@2/node_modules/growl/History.md
/usr/lib/node_modules/uglify-js@2/node_modules/growl/Readme.md
/usr/lib/node_modules/uglify-js@2/node_modules/growl/lib
/usr/lib/node_modules/uglify-js@2/node_modules/growl/lib/growl.js
/usr/lib/node_modules/uglify-js@2/node_modules/growl/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/growl/test.js
/usr/lib/node_modules/uglify-js@2/node_modules/inherits
/usr/lib/node_modules/uglify-js@2/node_modules/inherits/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/inherits/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/inherits/inherits.js
/usr/lib/node_modules/uglify-js@2/node_modules/inherits/inherits_browser.js
/usr/lib/node_modules/uglify-js@2/node_modules/inherits/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/is-buffer
/usr/lib/node_modules/uglify-js@2/node_modules/is-buffer/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/is-buffer/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/is-buffer/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/is-buffer/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/is-buffer/test
/usr/lib/node_modules/uglify-js@2/node_modules/is-buffer/test/basic.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade
/usr/lib/node_modules/uglify-js@2/node_modules/jade/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/jade/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/jade/bin
/usr/lib/node_modules/uglify-js@2/node_modules/jade/bin/jade
/usr/lib/node_modules/uglify-js@2/node_modules/jade/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/jade.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/jade.md
/usr/lib/node_modules/uglify-js@2/node_modules/jade/jade.min.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/compiler.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/doctypes.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/filters.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/inline-tags.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/jade.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/lexer.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/attrs.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/block-comment.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/block.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/case.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/code.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/comment.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/doctype.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/each.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/filter.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/literal.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/mixin.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/node.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/tag.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/nodes/text.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/parser.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/runtime.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/self-closing.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/lib/utils.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/commander
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/commander/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/commander/.travis.yml
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/commander/History.md
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/commander/Makefile
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/commander/Readme.md
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/commander/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/commander/lib
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/commander/lib/commander.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/commander/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/.gitignore.orig
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/.gitignore.rej
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/README.markdown
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/examples
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/examples/pow.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/examples/pow.js.orig
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/examples/pow.js.rej
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/test
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/test/chmod.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/test/clobber.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/test/mkdirp.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/test/perm.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/test/perm_sync.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/test/race.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/test/rel.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/test/sync.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/test/umask.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/node_modules/mkdirp/test/umask_sync.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/jade/runtime.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/runtime.min.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/test.jade
/usr/lib/node_modules/uglify-js@2/node_modules/jade/testing
/usr/lib/node_modules/uglify-js@2/node_modules/jade/testing/head.jade
/usr/lib/node_modules/uglify-js@2/node_modules/jade/testing/index.jade
/usr/lib/node_modules/uglify-js@2/node_modules/jade/testing/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/jade/testing/layout.jade
/usr/lib/node_modules/uglify-js@2/node_modules/jade/testing/user.jade
/usr/lib/node_modules/uglify-js@2/node_modules/jade/testing/user.js
/usr/lib/node_modules/uglify-js@2/node_modules/kind-of
/usr/lib/node_modules/uglify-js@2/node_modules/kind-of/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/kind-of/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/kind-of/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/kind-of/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/lazy-cache
/usr/lib/node_modules/uglify-js@2/node_modules/lazy-cache/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/lazy-cache/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/lazy-cache/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/lazy-cache/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/longest
/usr/lib/node_modules/uglify-js@2/node_modules/longest/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/longest/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/longest/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/longest/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/.travis.yml
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/CONTRIBUTORS
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/lib
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/lib/lru-cache.js
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/test
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/test/basic.js
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/test/foreach.js
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/test/memory-leak.js
/usr/lib/node_modules/uglify-js@2/node_modules/lru-cache/test/serialize.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch/minimatch.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch/test
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch/test/basic.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch/test/brace-expand.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch/test/caching.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch/test/defaults.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimatch/test/extglob-ending-with-state-char.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimist
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/.travis.yml
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/example
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/example/parse.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/readme.markdown
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/test
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/test/dash.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/test/default_bool.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/test/dotted.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/test/long.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/test/parse.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/test/parse_modified.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/test/short.js
/usr/lib/node_modules/uglify-js@2/node_modules/minimist/test/whitespace.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/.travis.yml
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/bin
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/bin/cmd.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/bin/usage.txt
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/examples
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/examples/pow.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/readme.markdown
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/chmod.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/clobber.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/mkdirp.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/opts_fs.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/opts_fs_sync.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/perm.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/perm_sync.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/race.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/rel.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/return.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/return_sync.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/root.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/sync.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/umask.js
/usr/lib/node_modules/uglify-js@2/node_modules/mkdirp/test/umask_sync.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/HISTORY.md
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/bin
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/bin/.eslintrc
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/bin/_mocha
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/bin/mocha
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/bin/options.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/images
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/images/error.png
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/images/ok.png
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/browser
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/browser/debug.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/browser/diff.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/browser/events.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/browser/progress.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/browser/tty.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/context.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/hook.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/interfaces
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/interfaces/bdd.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/interfaces/common.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/interfaces/exports.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/interfaces/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/interfaces/qunit.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/interfaces/tdd.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/mocha.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/ms.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/pending.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/base.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/doc.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/dot.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/html-cov.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/html.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/json-cov.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/json-stream.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/json.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/landing.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/list.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/markdown.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/min.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/nyan.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/progress.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/spec.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/tap.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/templates
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/templates/coverage.jade
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/templates/menu.jade
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/templates/script.html
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/templates/style.html
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/reporters/xunit.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/runnable.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/runner.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/suite.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/template.html
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/test.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/lib/utils.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/mocha.css
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/mocha.js
/usr/lib/node_modules/uglify-js@2/node_modules/mocha/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/ms
/usr/lib/node_modules/uglify-js@2/node_modules/ms/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/ms/History.md
/usr/lib/node_modules/uglify-js@2/node_modules/ms/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/ms/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/ms/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/ms/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/repeat-string
/usr/lib/node_modules/uglify-js@2/node_modules/repeat-string/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/repeat-string/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/repeat-string/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/repeat-string/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/right-align
/usr/lib/node_modules/uglify-js@2/node_modules/right-align/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/right-align/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/right-align/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/right-align/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/sigmund
/usr/lib/node_modules/uglify-js@2/node_modules/sigmund/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/sigmund/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/sigmund/bench.js
/usr/lib/node_modules/uglify-js@2/node_modules/sigmund/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/sigmund/sigmund.js
/usr/lib/node_modules/uglify-js@2/node_modules/sigmund/test
/usr/lib/node_modules/uglify-js@2/node_modules/sigmund/test/basic.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/CHANGELOG.md
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/dist
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/dist/source-map.debug.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/dist/source-map.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/dist/source-map.min.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/dist/source-map.min.js.map
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/lib
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/lib/array-set.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/lib/base64-vlq.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/lib/base64.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/lib/binary-search.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/lib/mapping-list.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/lib/quick-sort.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/lib/source-map-consumer.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/lib/source-map-generator.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/lib/source-node.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/lib/util.js
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/source-map/source-map.js
/usr/lib/node_modules/uglify-js@2/node_modules/supports-color
/usr/lib/node_modules/uglify-js@2/node_modules/supports-color/cli.js
/usr/lib/node_modules/uglify-js@2/node_modules/supports-color/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/supports-color/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/supports-color/readme.md
/usr/lib/node_modules/uglify-js@2/node_modules/uglify-to-browserify
/usr/lib/node_modules/uglify-js@2/node_modules/uglify-to-browserify/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/uglify-to-browserify/.travis.yml
/usr/lib/node_modules/uglify-js@2/node_modules/uglify-to-browserify/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/uglify-to-browserify/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/uglify-to-browserify/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/uglify-to-browserify/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/uglify-to-browserify/test
/usr/lib/node_modules/uglify-js@2/node_modules/uglify-to-browserify/test/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/window-size
/usr/lib/node_modules/uglify-js@2/node_modules/window-size/LICENSE-MIT
/usr/lib/node_modules/uglify-js@2/node_modules/window-size/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/window-size/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/window-size/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap/.npmignore
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap/README.markdown
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap/example
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap/example/center.js
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap/example/meat.js
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap/package.json
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap/test
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap/test/break.js
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap/test/idleness.txt
/usr/lib/node_modules/uglify-js@2/node_modules/wordwrap/test/wrap.js
/usr/lib/node_modules/uglify-js@2/node_modules/yargs
/usr/lib/node_modules/uglify-js@2/node_modules/yargs/CHANGELOG.md
/usr/lib/node_modules/uglify-js@2/node_modules/yargs/LICENSE
/usr/lib/node_modules/uglify-js@2/node_modules/yargs/README.md
/usr/lib/node_modules/uglify-js@2/node_modules/yargs/completion.sh.hbs
/usr/lib/node_modules/uglify-js@2/node_modules/yargs/index.js
/usr/lib/node_modules/uglify-js@2/node_modules/yargs/lib
/usr/lib/node_modules/uglify-js@2/node_modules/yargs/lib/completion.js
/usr/lib/node_modules/uglify-js@2/node_modules/yargs/lib/parser.js
/usr/lib/node_modules/uglify-js@2/node_modules/yargs/lib/usage.js
/usr/lib/node_modules/uglify-js@2/node_modules/yargs/lib/validation.js
/usr/lib/node_modules/uglify-js@2/node_modules/yargs/package.json
/usr/lib/node_modules/uglify-js@2/package.json
/usr/lib/node_modules/uglify-js@2/tools
/usr/lib/node_modules/uglify-js@2/tools/domprops.json
/usr/lib/node_modules/uglify-js@2/tools/exports.js
/usr/lib/node_modules/uglify-js@2/tools/node.js
/usr/lib/node_modules/uglify-js@2/tools/props.html

References

Summary

In this tutorial we learn how to install uglify-js on Rocky Linux 8 using yum and dnf.