How to Install and Uninstall ruby-mocha Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 22,2024
1. Install "ruby-mocha" package
This is a short guide on how to install ruby-mocha on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
ruby-mocha
Copied
2. Uninstall "ruby-mocha" package
Please follow the steps below to uninstall ruby-mocha on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
ruby-mocha
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ruby-mocha package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: ruby-mocha
Priority: optional
Section: universe/ruby
Installed-Size: 276
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 1.1.0-2ubuntu1
Depends: ruby | ruby-interpreter, ruby-metaclass
Suggests: ruby-mocha-doc
Filename: pool/universe/r/ruby-mocha/ruby-mocha_1.1.0-2ubuntu1_all.deb
Size: 36066
MD5sum: 04aebd4d929cf8002998e9eba9410a92
SHA1: 38c94b92c6ceae77cf02ad161c1a5d23219c87bb
SHA256: f3f8fb75f679b5c68767f863b7cad3efe3946356ef122d003fe69061fa4004bd
Description-en: Mocking and stubbing library for Ruby
Mocha is a mocking and stubbing library with JMock/SchMock syntax, which
allows mocking and stubbing of methods on real (non-mock) classes. Mocking and
stubbing are techniques used to improve unit testing.
Description-md5: fb69674beb79c60a99238172a3f2726e
Homepage: http://mocha.rubyforge.org/
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/ruby
Installed-Size: 276
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 1.1.0-2ubuntu1
Depends: ruby | ruby-interpreter, ruby-metaclass
Suggests: ruby-mocha-doc
Filename: pool/universe/r/ruby-mocha/ruby-mocha_1.1.0-2ubuntu1_all.deb
Size: 36066
MD5sum: 04aebd4d929cf8002998e9eba9410a92
SHA1: 38c94b92c6ceae77cf02ad161c1a5d23219c87bb
SHA256: f3f8fb75f679b5c68767f863b7cad3efe3946356ef122d003fe69061fa4004bd
Description-en: Mocking and stubbing library for Ruby
Mocha is a mocking and stubbing library with JMock/SchMock syntax, which
allows mocking and stubbing of methods on real (non-mock) classes. Mocking and
stubbing are techniques used to improve unit testing.
Description-md5: fb69674beb79c60a99238172a3f2726e
Homepage: http://mocha.rubyforge.org/
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu