How to Install and Uninstall ruby-mocha Package on Debian 11 (Bullseye)

Last updated: May 11,2024

1. Install "ruby-mocha" package

Learn how to install ruby-mocha on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install ruby-mocha

2. Uninstall "ruby-mocha" package

Here is a brief guide to show you how to uninstall ruby-mocha on Debian 11 (Bullseye):

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

3. Information about the ruby-mocha package on Debian 11 (Bullseye)

Package: ruby-mocha
Version: 1.7.0-1
Installed-Size: 293
Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Depends: ruby | ruby-interpreter, ruby-metaclass
Suggests: ruby-mocha-doc
Description: Mocking and stubbing library for Ruby
Description-md5: fb69674beb79c60a99238172a3f2726e
Homepage: https://gofreerange.com/mocha/docs
Ruby-Versions: all
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-mocha/ruby-mocha_1.7.0-1_all.deb
Size: 57472
MD5sum: 64735ae49f250f4da66fe2360b296009
SHA256: 3e780b4227ee36616fb1a281d7fd44fe49f8f43d36dbce619318a7b9866accc2