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

Last updated: November 22,2024

1. Install "ruby-rails" package

This is a short guide on how to install ruby-rails on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ruby-rails

2. Uninstall "ruby-rails" package

Please follow the guidance below to uninstall ruby-rails on Debian 12 (Bookworm):

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

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

Package: ruby-rails
Source: rails
Version: 2:6.1.7.3+dfsg-1
Installed-Size: 69
Maintainer: Debian Ruby Team
Architecture: all
Depends: ruby-actioncable (= 2:6.1.7.3+dfsg-1), ruby-actionmailbox (= 2:6.1.7.3+dfsg-1), ruby-actionmailer (= 2:6.1.7.3+dfsg-1), ruby-actionpack (= 2:6.1.7.3+dfsg-1), ruby-actiontext (= 2:6.1.7.3+dfsg-1), ruby-actionview (= 2:6.1.7.3+dfsg-1), ruby-activejob (= 2:6.1.7.3+dfsg-1), ruby-activemodel (= 2:6.1.7.3+dfsg-1), ruby-activerecord (= 2:6.1.7.3+dfsg-1), ruby-activestorage (= 2:6.1.7.3+dfsg-1), ruby-activesupport (= 2:6.1.7.3+dfsg-1), ruby-bundler, ruby-railties (= 2:6.1.7.3+dfsg-1), ruby-sprockets-rails (>= 2.3.2~)
Breaks: gitlab (<= 12.6.8-3~), ruby-data-migrate (<< 6.7.0~), ruby-invisible-captcha (<< 1.1.0-5~), ruby-leaflet-rails (<< 1.6.0+dfsg-2~), ruby-roadie-rails (<< 2.1.1~)
Description: MVC ruby based framework geared for web application development
Description-md5: bb28dc2452d17b899bf418f70fe748a1
Homepage: https://rubyonrails.org/
Section: ruby
Priority: optional
Filename: pool/main/r/rails/ruby-rails_6.1.7.3+dfsg-1_all.deb
Size: 25632
MD5sum: 73d84290b3b8f01a55aaef503246b389
SHA256: 0cb698a61f09fbb547adf613bfc7ec6ea60e7dbde618f39ae9f8338d78690974