How to Install and Uninstall mocha Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 12,2024

1. Install "mocha" package

This guide covers the steps necessary to install mocha on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install mocha

2. Uninstall "mocha" package

Please follow the guidance below to uninstall mocha on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the mocha package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: mocha
Priority: extra
Section: universe/web
Installed-Size: 221
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Architecture: all
Source: node-mocha
Version: 1.20.1-2
Provides: node-mocha
Depends: 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-2_all.deb
Size: 50104
MD5sum: f2e5e3099672660f3c94b694c9d5c814
SHA1: ede69566c5f5839ce357090c8d93dbb087bea8fb
SHA256: d0b4ceb8a801e335bd3a508ab8da18a7e725c18ae7d6e4c7bf03d64dc54c15b1
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
Homepage: http://mochajs.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu