How to Install and Uninstall ruby-mocha Package on Kali Linux

Last updated: May 11,2024

1. Install "ruby-mocha" package

This guide let you learn how to install ruby-mocha on Kali Linux

$ sudo apt update $ sudo apt install ruby-mocha

2. Uninstall "ruby-mocha" package

Please follow the steps below to uninstall ruby-mocha on Kali Linux:

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

3. Information about the ruby-mocha package on Kali Linux

Package: ruby-mocha
Version: 1.16.1-2
Installed-Size: 1369
Maintainer: Debian Ruby Team
Architecture: all
Depends: ruby, ruby-metaclass
Suggests: ruby-mocha-doc
Size: 158392
SHA256: 4076e60d295c9318cbfdf618d53616928ac052011e00a72635f6fc31c06d8945
SHA1: d1f788d5b0518e24e2e81c70b0d53cf9108b7a6c
MD5sum: 0f08dc0d05aac4595c0c8d17c2042411
Description: Mocking and stubbing library for Ruby
Mocha is a mocking and stubbing library with JMock/SchMock syntax, which
allows mocking and stubbing of methods on real (non-mock) classes. Mocking and
stubbing are techniques used to improve unit testing.
Description-md5:
Homepage: https://mocha.jamesmead.org
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-mocha/ruby-mocha_1.16.1-2_all.deb