Cheap VPS & Xen Server

Residential Proxy Network - Hourly & Monthly Packages

How to install mocha on Debian Unstable (Sid)

Install mocha

Installing mocha package on Debian Unstable (Sid) is as easy as running the following command on terminal:

sudo apt-get update
sudo apt-get install mocha

mocha package information

distro Debian Unstable (Sid)
section Main
name mocha
version 1.20.1-2
description simple, flexible, fun test framework – Node.js module
subsection web
maintainer Debian Javascript Maintainers

Uninstall mocha

To remove just mocha package itself from Debian Unstable (Sid) execute on terminal:

sudo apt-get remove mocha

Uninstall mocha and it’s dependent packages

To remove the mocha package and any other dependant package which are no longer needed from Debian Sid.

sudo apt-get remove --auto-remove mocha

Purging mocha

If you also want to delete configuration and/or data files of mocha from Debian Sid then this will work:

sudo apt-get purge mocha

To delete configuration and/or data files of mocha and it’s dependencies from Debian Sid then execute:

sudo apt-get purge --auto-remove mocha