How to Install and Uninstall mocha Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 23,2024

1. Install "mocha" package

Please follow the guidance below to install mocha on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install mocha

2. Uninstall "mocha" package

Learn how to uninstall mocha on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the mocha package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: mocha
Architecture: all
Version: 1.20.1-7
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: 221
Provides: node-mocha
Depends: libjs-mocha, nodejs, node-growl, node-jade, node-mkdirp, node-commander, node-debug, node-diff, node-glob
Suggests: node-jscoverage
Filename: pool/universe/n/node-mocha/mocha_1.20.1-7_all.deb
Size: 47462
MD5sum: cb423f69a2ea8558879cef1a7e58edbf
SHA1: 193406fa2f1921b432b053e2c7f62efe8f7e566b
SHA256: 48559e261d2029650bd24940c292aba1baebc7d2bcc9fbec225bbf16dfe22d42
Homepage: http://mochajs.org/
Description: simple, flexible, fun test framework - Node.js module
Description-md5: 70d1e5130e31bf8c972ec24635fac387