How to Install and Uninstall ruby-mocha Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: November 22,2024

1. Install "ruby-mocha" package

This guide let you learn how to install ruby-mocha on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install ruby-mocha

2. Uninstall "ruby-mocha" package

Please follow the steps below to uninstall ruby-mocha on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the ruby-mocha package on Ubuntu 22.10 (Kinetic Kudu)

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: Mocking and stubbing library for Ruby
Description-md5: fb69674beb79c60a99238172a3f2726e
Ruby-Versions: all