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

Last updated: September 20,2024

1. Install "ruby-rspec" package

Here is a brief guide to show you how to install ruby-rspec on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-rspec

2. Uninstall "ruby-rspec" package

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

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

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

Package: ruby-rspec
Priority: optional
Section: universe/ruby
Installed-Size: 25
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 3.4.0c3e0m1s1-1ubuntu1
Depends: ruby | ruby-interpreter, ruby-rspec-core (= 3.4.0c3e0m1s1-1ubuntu1)
Filename: pool/universe/r/ruby-rspec/ruby-rspec_3.4.0c3e0m1s1-1ubuntu1_all.deb
Size: 3386
MD5sum: 597f99092b7bd77cf6e93f17f24c07b9
SHA1: dde53c6e6d1025d82b87c50e4f965a764d8eeb0d
SHA256: 5843187165e89dac0e736756d189ad2891f62b4fa4416ad313f031b0cc0ed6b1
Description-en: Behaviour Driven Development framework for Ruby - metapackage
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.
Description-md5: f6d16115e98f2dabcbf90a24c94d9515
Homepage: http://rspec.info/
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu