How to Install and Uninstall ruby-mocha Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 22,2024

1. Install "ruby-mocha" package

In this section, we are going to explain the necessary steps to install ruby-mocha on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install ruby-mocha

2. Uninstall "ruby-mocha" package

This guide let you learn how to uninstall ruby-mocha on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the ruby-mocha package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: ruby-mocha
Architecture: all
Version: 1.3.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: 282
Depends: ruby | ruby-interpreter, ruby-metaclass
Suggests: ruby-mocha-doc
Filename: pool/universe/r/ruby-mocha/ruby-mocha_1.3.0-1_all.deb
Size: 37988
MD5sum: 40c2201cd32fdc42609b62ed55a32670
SHA1: 0c90ac52f803f48e7bd27bc40fa7dfa75ea71499
SHA256: 6413fd0a615a63d85d89033cc1fa52c80c40fb99ad0966aa4015d93e75d3f952
Homepage: http://gofreerange.com/mocha/docs
Description: Mocking and stubbing library for Ruby
Description-md5: fb69674beb79c60a99238172a3f2726e
Ruby-Versions: all