How to Install and Uninstall ruby-rspec-mocks Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: January 31,2025

1. Install "ruby-rspec-mocks" package

Please follow the guidelines below to install ruby-rspec-mocks on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "ruby-rspec-mocks" package

This tutorial shows how to uninstall ruby-rspec-mocks on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-rspec-mocks package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-rspec-mocks
Priority: optional
Section: universe/ruby
Installed-Size: 391
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Source: ruby-rspec
Version: 3.4.0c3e0m1s1-1ubuntu1
Depends: ruby | ruby-interpreter, ruby-rspec-support (= 3.4.0c3e0m1s1-1ubuntu1)
Suggests: ruby-rspec
Filename: pool/universe/r/ruby-rspec/ruby-rspec-mocks_3.4.0c3e0m1s1-1ubuntu1_all.deb
Size: 73462
MD5sum: a1fa1e0c97aa86e7f6630555cbf23eb5
SHA1: 2edc0dc1c6441bc64c039525f7a293fa200c0448
SHA256: fee91c056d296a47afdbe9905aceaefb2d38e0d3e5e8722ce41d0de2be54e5c9
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
Homepage: http://rspec.info/
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu