How to Install and Uninstall ruby-rspec Package on Debian 12 (Bookworm)

Last updated: September 20,2024

1. Install "ruby-rspec" package

This tutorial shows how to install ruby-rspec on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ruby-rspec

2. Uninstall "ruby-rspec" package

Please follow the guidelines below to uninstall ruby-rspec on Debian 12 (Bookworm):

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

3. Information about the ruby-rspec package on Debian 12 (Bookworm)

Package: ruby-rspec
Version: 3.12.0c0e1m1s0-1
Installed-Size: 23
Maintainer: Debian Ruby Team
Architecture: all
Depends: ruby-rspec-core (= 3.12.0c0e1m1s0-1), ruby-rspec-expectations (= 3.12.0c0e1m1s0-1), ruby-rspec-mocks (= 3.12.0c0e1m1s0-1)
Breaks: ruby-rspec-collection-matchers (<< 1.2.0), ruby-rspec-rails (<< 4.0.0~)
Description: Behaviour Driven Development framework for Ruby - metapackage
Description-md5: f6d16115e98f2dabcbf90a24c94d9515
Homepage: https://rspec.info/
Tag: implemented-in::ruby, role::shared-lib
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-rspec/ruby-rspec_3.12.0c0e1m1s0-1_all.deb
Size: 5084
MD5sum: 4f63ef01878fecc1a5e8a5fbaff18f4a
SHA256: b83190b64dac6fd3634d92afd458912d92dd10aa000aaf40b73ab3939e7adfa8