How to Install and Uninstall mocha Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 12,2024

1. Install "mocha" package

Please follow the steps below to install mocha on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install mocha

2. Uninstall "mocha" package

Please follow the guidance below to uninstall mocha on Ubuntu 21.10 (Impish Indri):

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

3. Information about the mocha package on Ubuntu 21.10 (Impish Indri)

Package: mocha
Architecture: all
Version: 8.2.1+ds1+~cs29.4.27-3
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: 867
Provides: node-flat (= 5.0.2), node-log-symbols (= 4.0.0), node-mocha (= 8.2.1), node-mocha (= 8.2.1+ds1+~cs29.4.27-3), node-types-mocha (= 8.2.0), node-ungap-promise-all-settled (= 1.1.2), node-workerpool (= 6.0.3), node-yargs-unparser (= 2.0.0)
Depends: node-ansi-colors, node-browser-stdout, node-camelcase, node-chalk, node-chokidar, node-debug (>= 3.1), node-decamelize, node-diff (>= 1.3.0), node-escape-string-regexp, node-find-up, node-glob (>= 7.1.2), node-growl (>= 1.10.5), node-he (>= 1.2.0), node-is-plain-obj, node-js-yaml (>= 3.13.1), node-minimatch (>= 3.0.4), node-ms, node-serialize-javascript, node-strip-json-comments, node-supports-color (>= 4.4.0), node-which, node-wide-align (>= 1.1.3), node-yargs (>= 13.2.2), node-yargs-parser (>= 13.0.0), nodejs (>= 4)
Suggests: chai
Breaks: node-typescript-types (<< 20201003-1~)
Filename: pool/universe/n/node-mocha/mocha_8.2.1+ds1+~cs29.4.27-3_all.deb
Size: 138748
MD5sum: 21ea625418f6d33916ce4f64e9cfc229
SHA1: 948b11608b39f7c3cf2b9be5540151aaba3a034a
SHA256: 76c9a91187f5723cd840e70352ae77bc0b27d056874c80f03abe1e353c8c0107
SHA512: 3ae3c2a7f757dbe49ef90fea23fb9a4147301b4ddcd4d53343b5655e08a056bab77cf49b098ad2fb2cc869a45370ea17588037be46652b70e537b222d3fb5ee9
Homepage: https://mochajs.org
Description-en: simple, flexible, fun test framework - Node.js module
Mocha is a feature-rich JavaScript test framework running
on Node.js and browser, making asynchronous testing
simple and fun.
.
Mocha tests run serially, allowing for flexible and accurate
reporting, while mapping uncaught exceptions to the correct
test cases.
.
Node.js is an event-based server-side JavaScript engine.
Description-md5: 70d1e5130e31bf8c972ec24635fac387