How to Install and Uninstall ruby-mocha Package on Debian 12 (Bookworm)
Last updated: January 23,2025
Notice
You can also install and uninstall the ruby-mocha on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "ruby-mocha" package
Learn how to install ruby-mocha on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
ruby-mocha
Copied
2. Uninstall "ruby-mocha" package
Please follow the guidelines below to uninstall ruby-mocha on Debian 12 (Bookworm):
$
sudo apt remove
ruby-mocha
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ruby-mocha package on Debian 12 (Bookworm)
Package: ruby-mocha
Version: 1.16.1-1
Installed-Size: 1369
Maintainer: Debian Ruby Team
Architecture: all
Depends: ruby, ruby-metaclass
Suggests: ruby-mocha-doc
Description: Mocking and stubbing library for Ruby
Description-md5: fb69674beb79c60a99238172a3f2726e
Homepage: https://mocha.jamesmead.org
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-mocha/ruby-mocha_1.16.1-1_all.deb
Size: 158612
MD5sum: 3e76aab847ed6047093d3e38fd0010ae
SHA256: 746597d9a5c5dd37f09ff4d8c91afc61d6ceee67fe26c439e07c333a1768ff91
Version: 1.16.1-1
Installed-Size: 1369
Maintainer: Debian Ruby Team
Architecture: all
Depends: ruby, ruby-metaclass
Suggests: ruby-mocha-doc
Description: Mocking and stubbing library for Ruby
Description-md5: fb69674beb79c60a99238172a3f2726e
Homepage: https://mocha.jamesmead.org
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-mocha/ruby-mocha_1.16.1-1_all.deb
Size: 158612
MD5sum: 3e76aab847ed6047093d3e38fd0010ae
SHA256: 746597d9a5c5dd37f09ff4d8c91afc61d6ceee67fe26c439e07c333a1768ff91