How to Install and Uninstall ruby-rspec Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: September 19,2024

1. Install "ruby-rspec" package

Please follow the guidance below to install ruby-rspec on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install ruby-rspec

2. Uninstall "ruby-rspec" package

This tutorial shows how to uninstall ruby-rspec on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the ruby-rspec package on Ubuntu 20.04 LTS (Focal Fossa)

Package: ruby-rspec
Architecture: all
Version: 3.9.0c1e0m1s2-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: 26
Depends: ruby-rspec-core (= 3.9.0c1e0m1s2-1), ruby-rspec-expectations (= 3.9.0c1e0m1s2-1), ruby-rspec-mocks (= 3.9.0c1e0m1s2-1)
Breaks: ruby-rspec-collection-matchers (<< 1.2.0), ruby-rspec-rails (<< 4.0.0~)
Filename: pool/universe/r/ruby-rspec/ruby-rspec_3.9.0c1e0m1s2-1_all.deb
Size: 3596
MD5sum: a5f9b630f0473d77e04cb0c3d2149b01
SHA1: 4e5b0755a18a9890e9a7deeabb92011c206de906
SHA256: dd798399610efa6b978e92e236d8b9a13f2da19d1df96fa072374951f64b08ac
Homepage: http://rspec.info/
Description: Behaviour Driven Development framework for Ruby - metapackage
Description-md5: f6d16115e98f2dabcbf90a24c94d9515
Ruby-Versions: all