How to Install and Uninstall js2-mode Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 08,2024

1. Install "js2-mode" package

This is a short guide on how to install js2-mode on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install js2-mode

2. Uninstall "js2-mode" package

Please follow the guidelines below to uninstall js2-mode on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove js2-mode $ sudo apt autoclean && sudo apt autoremove

3. Information about the js2-mode package on Ubuntu 21.04 (Hirsute Hippo)

Package: js2-mode
Architecture: all
Version: 0~20201220-1
Priority: optional
Section: universe/editors
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Emacsen team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9
Depends: elpa-js2-mode
Filename: pool/universe/j/js2-mode/js2-mode_0~20201220-1_all.deb
Size: 1988
MD5sum: 88eb078b39dc557877f55a628ecc5715
SHA1: b7e7e471c1ddee481d56502d9a55ac270e6c2fdc
SHA256: a1a13f025795d25af7544c2a47cd42db392ed882713525fd76d62d46fc7388ec
SHA512: 53de95b65322c41d59837f98755441673aa36c764a79054d383409e4ff9c7ccdc3835a03ada8348fa4e1d27be7d185943dec5001501757a64b7feb52ac4f3712
Homepage: https://github.com/mooz/js2-mode
Description-en: Emacs mode for editing Javascript programs (dummy package)
This JavaScript editing mode supports:
.
- the full JavaScript language through version 1.7
- support for most Rhino and SpiderMonkey extensions from 1.5 to 1.7
- accurate syntax highlighting using a recursive-descent parser
- syntax-error and strict-mode warning reporting
- "bouncing" line indentation to choose among alternate indentation points
- smart line-wrapping within comments and strings
- code folding:
- show some or all function bodies as {...}
- show some or all block comments as /*...*/
- context-sensitive menu bar and popup menus
- code browsing using the imenu' package
- typing helpers (e.g. inserting matching braces/parens)
- many customization options
.
This transitional package can be safely removed.
Description-md5: 85ac5b1279e8befcb0132d29b1f6ef05