How to Install and Uninstall ruby-mocha Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 29,2024

1. Install "ruby-mocha" package

Learn how to install ruby-mocha on Ubuntu 24.04 LTS (Noble Numbat)

$ 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 Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the ruby-mocha package on Ubuntu 24.04 LTS (Noble Numbat)

Package: ruby-mocha
Architecture: all
Version: 1.16.1-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1368
Depends: ruby, ruby-metaclass
Suggests: ruby-mocha-doc
Filename: pool/universe/r/ruby-mocha/ruby-mocha_1.16.1-1_all.deb
Size: 139910
MD5sum: c0f30094e84b9c418421b14454c4acb5
SHA1: d555b3475c97088744850f560010983f6efb2285
SHA256: 55cd35b4845dc9f1022de3a21cdc429dd55fe06ee2696e09c7334e2dbb58b272
SHA512: 2e28e71c30693e1a1e6c09e10f47caf3484ab9dcdba8ac57e9a9f007ce671f3356d27abaa8f9c3a9c049df168dc2362fcf2a195ea8b302ddfa2112f77c4a9618
Homepage: https://mocha.jamesmead.org
Description: Mocking and stubbing library for Ruby
Description-md5: fb69674beb79c60a99238172a3f2726e