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

Last updated: November 25,2024

1. Install "libjs-requirejs" package

This guide let you learn how to install libjs-requirejs on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libjs-requirejs

2. Uninstall "libjs-requirejs" package

This tutorial shows how to uninstall libjs-requirejs on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: libjs-requirejs
Architecture: all
Version: 2.3.6+ds-1
Priority: extra
Section: universe/web
Source: requirejs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1291
Filename: pool/universe/r/requirejs/libjs-requirejs_2.3.6+ds-1_all.deb
Size: 196388
MD5sum: c7976d7f5aae96f087e6ff499ecac6e1
SHA1: 209bef97ca89d3d41517bd54795dd40938a180e0
SHA256: c2b634cbc14846a0eb5d582f05d2fadba9caeb3e9ab9315911608b61dda6a63c
SHA512: be1a70643dee0fa70c7e37dcc1eb146375c0a54a6f09d068f442728bd43f196b2fc16624c07c4d67e85f13b2df5fe1c352b3adb717448c4f07b619819e105d67
Homepage: https://github.com/jrburke/r.js
Description-en: JavaScript file and module loader
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.
.
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: dbe1fd79cbac4fe724d32a30465466f1