How to Install and Uninstall mocha Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 12,2024

1. Install "mocha" package

Here is a brief guide to show you how to install mocha on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install mocha

2. Uninstall "mocha" package

Here is a brief guide to show you how to uninstall mocha on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove mocha $ sudo apt autoclean && sudo apt autoremove

3. Information about the mocha package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: mocha
Architecture: all
Version: 9.2.1+ds1+~cs28.3.8-1
Priority: extra
Section: universe/web
Source: node-mocha
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 847
Provides: node-flat (= 5.0.2), node-log-symbols (= 5.1.0), node-mocha (= 9.2.1), node-mocha (= 9.2.1+ds1+~cs28.3.8-1), node-types-mocha (= 9.1.0), node-ungap-promise-all-settled (= 1.1.2), node-workerpool (= 6.0.4), node-yargs-unparser (= 2.0.0)
Depends: node-ansi-colors, node-browser-stdout, node-camelcase, node-chalk, node-chokidar, node-debug, node-decamelize, node-diff, node-escape-string-regexp, node-find-up, node-glob, node-growl, node-he (>= 1.2.0), node-is-plain-obj, node-is-unicode-supported, node-js-yaml (>= 3.13.1), node-minimatch, node-ms, node-nanoid, node-serialize-javascript, node-strip-json-comments, node-supports-color, node-which, node-wide-align (>= 1.1.3), node-yargs (>= 13.2.2), node-yargs-parser (>= 13.0.0), nodejs:any
Suggests: chai
Breaks: node-typescript-types (<< 20201003-1~)
Filename: pool/universe/n/node-mocha/mocha_9.2.1+ds1+~cs28.3.8-1_all.deb
Size: 139070
MD5sum: 9a3d1fc5e12225967efd2921e302cbc6
SHA1: 14a3824a11637d2fdd471ecdb296bbd76ca36d4c
SHA256: 0bddd39ac923f4bf7127b41826421c0b471037db7971934f3ef94665cce10c51
SHA512: 3291d87e2f9223797c4b47f4f30c6ff1c4cf4fc12dd6da71319dddbe490a9425050bab93b6c00215dce2ea9d06d40a9fc6980f5eccf7b8ada12c4d7bab4d4b8f
Homepage: https://mochajs.org
Description: simple, flexible, fun test framework - Node.js module
Description-md5: 70d1e5130e31bf8c972ec24635fac387