How to Install and Uninstall ruby-rspec-mocks Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: December 24,2024

1. Install "ruby-rspec-mocks" package

This tutorial shows how to install ruby-rspec-mocks on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-rspec-mocks

2. Uninstall "ruby-rspec-mocks" package

Please follow the instructions below to uninstall ruby-rspec-mocks on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ruby-rspec-mocks $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-rspec-mocks package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-rspec-mocks
Architecture: all
Version: 3.9.0c1e0m1s2-1
Priority: optional
Section: universe/ruby
Source: ruby-rspec
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 389
Depends: ruby-rspec-support (= 3.9.0c1e0m1s2-1), ruby-diff-lcs
Suggests: ruby-rspec
Breaks: ruby-rspec-rails (<< 4.0.0~)
Filename: pool/universe/r/ruby-rspec/ruby-rspec-mocks_3.9.0c1e0m1s2-1_all.deb
Size: 76652
MD5sum: 6935a684b4d93eaafd6a9a7192b6117a
SHA1: 028e37ccd1a51330d8b5894fda9fcc674c718b07
SHA256: 9f0fd4f2d88a356e94172f3b25db588717ae0da295f6ba2a984ffe08ec05f0f8
SHA512: c2eead9fc2411f1ff8998d60ac233a689de8479a2dee7884ff698d30b0481ef8b01bf052d783ea328babd114a03bb5ce9840033c266a3ddee080b4308c0be217
Homepage: http://rspec.info/
Description-en: Behaviour Driven Development framework for Ruby - mocks
RSpec is a Behaviour Driven Development framework for Ruby. It
provides a framework for writing and executing examples of how your
Ruby application should behave.
.
This package provides support for stubbing and mocking.
Description-md5: b09b29822254e67d642b6a48f96af0e6
Ruby-Versions: all