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

Last updated: May 15,2024

1. Install "ruby-rspec" package

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

$ sudo apt update $ sudo apt install ruby-rspec

2. Uninstall "ruby-rspec" package

Please follow the guidelines below to uninstall ruby-rspec on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: ruby-rspec
Architecture: all
Version: 3.7.0c1e0m0s1-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: 25
Depends: ruby | ruby-interpreter, ruby-rspec-core (= 3.7.0c1e0m0s1-1)
Filename: pool/universe/r/ruby-rspec/ruby-rspec_3.7.0c1e0m0s1-1_all.deb
Size: 3492
MD5sum: d26e217086e892baf2b5006eccb1772f
SHA1: f030756f67c45208a2e18b0f172ff307ff81d77b
SHA256: 7c35aa43703e10e81c9ab252a986793a917639f194d639dee2813fb52d463f3d
Homepage: http://rspec.info/
Description: Behaviour Driven Development framework for Ruby - metapackage
Description-md5: f6d16115e98f2dabcbf90a24c94d9515
Ruby-Versions: all