How to Install and Uninstall ruby-mocha Package on Ubuntu 21.10 (Impish Indri)
Last updated: December 29,2024
1. Install "ruby-mocha" package
Learn how to install ruby-mocha on Ubuntu 21.10 (Impish Indri)
$
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 21.10 (Impish Indri):
$
sudo apt remove
ruby-mocha
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ruby-mocha package on Ubuntu 21.10 (Impish Indri)
Package: ruby-mocha
Architecture: all
Version: 1.7.0-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 293
Depends: ruby | ruby-interpreter, ruby-metaclass
Suggests: ruby-mocha-doc
Filename: pool/universe/r/ruby-mocha/ruby-mocha_1.7.0-1_all.deb
Size: 39480
MD5sum: 18788bf1df30c9867d375ae1c36a6a53
SHA1: 1caca674ec3daf8f4b6f50775da3ae0108b27056
SHA256: a9a10dca4dcb324915622ae6edc73167bc8d5c0b0f61e701da0be496a97595e4
SHA512: a8209b0629c7a4def9b970549f41b8a5f0c7553bbc489005a53445889db67e307d4ed73b1d735ee4ce89a2a714db0276aa745e633530a55d3fc06ea08bedad9e
Homepage: https://gofreerange.com/mocha/docs
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
Ruby-Versions: all
Architecture: all
Version: 1.7.0-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 293
Depends: ruby | ruby-interpreter, ruby-metaclass
Suggests: ruby-mocha-doc
Filename: pool/universe/r/ruby-mocha/ruby-mocha_1.7.0-1_all.deb
Size: 39480
MD5sum: 18788bf1df30c9867d375ae1c36a6a53
SHA1: 1caca674ec3daf8f4b6f50775da3ae0108b27056
SHA256: a9a10dca4dcb324915622ae6edc73167bc8d5c0b0f61e701da0be496a97595e4
SHA512: a8209b0629c7a4def9b970549f41b8a5f0c7553bbc489005a53445889db67e307d4ed73b1d735ee4ce89a2a714db0276aa745e633530a55d3fc06ea08bedad9e
Homepage: https://gofreerange.com/mocha/docs
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
Ruby-Versions: all