How to Install and Uninstall node-requirejs Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 14,2024

1. Install "node-requirejs" package

This is a short guide on how to install node-requirejs on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install node-requirejs

2. Uninstall "node-requirejs" package

Please follow the instructions below to uninstall node-requirejs on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove node-requirejs $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-requirejs package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: node-requirejs
Priority: extra
Section: universe/web
Installed-Size: 1297
Maintainer: Ubuntu Developers
Original-Maintainer: Laszlo Boszormenyi (GCS)
Architecture: all
Source: requirejs
Version: 2.1.22-1
Depends: nodejs
Filename: pool/universe/r/requirejs/node-requirejs_2.1.22-1_all.deb
Size: 202736
MD5sum: d20eee7a10581436b7467ff21d6cfc93
SHA1: eafcb5d35d849eb2e99b783953f6bc436b1e76ac
SHA256: ba02c92f3acc882a36563685584da19ea8ef988d0372650c68f9a6e43704652a
Description-en: JavaScript file and module loader - NodeJS
RequireJS loads plain JavaScript files as well as more defined
modules. It is optimized for in-browser use, including in a Web
Worker, but it can be used in other JavaScript environments, like
Rhino and Node. It implements the Asynchronous Module API
.
RequireJS uses plain script tags to load modules/files, so it should
allow for easy debugging. It can be used simply to load existing
JavaScript files, so you can add it to your existing project without
having to re-write your JavaScript files.
.
RequireJS includes an optimization tool you can run as part of your
packaging steps for deploying your code. The optimization tool can
combine and minify your JavaScript files to allow for better
performance.
.
If the JavaScript file defines a JavaScript module via define(), then
there are other benefits RequireJS can offer: improvements over
traditional CommonJS modules and loading multiple versions of a
module in a page. RequireJS also has a plugin system that supports
features like i18n string bundles, and text file dependencies.
.
RequireJS does not have any dependencies on a JavaScript
framework. It is dual-licensed -- new BSD or MIT.
.
The standard require.js file is around 5.5KB when minified via
Closure Compiler and gzipped.
.
RequireJS works in IE 6+, Firefox 2+, Safari 3.2+, Chrome 3+, and
Opera 10+.
.
This package also provides a script r.js, that has two major functions:
* Run AMD-based projects in Node and Rhino.
* Includes the RequireJS Optimizer that combines scripts for optimal
browser delivery.
Description-md5: d82b7bbf4b88c5ff2765b3369a4a19af
Homepage: https://github.com/jrburke/r.js
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu