How to Install and Uninstall ruby-rails Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 22,2024

1. Install "ruby-rails" package

This guide let you learn how to install ruby-rails on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install ruby-rails

2. Uninstall "ruby-rails" package

Here is a brief guide to show you how to uninstall ruby-rails on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the ruby-rails package on Ubuntu 24.04 LTS (Noble Numbat)

Package: ruby-rails
Architecture: all
Version: 2:6.1.7.3+dfsg-3
Priority: optional
Section: universe/ruby
Source: rails
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 68
Depends: ruby-actioncable (= 2:6.1.7.3+dfsg-3), ruby-actionmailbox (= 2:6.1.7.3+dfsg-3), ruby-actionmailer (= 2:6.1.7.3+dfsg-3), ruby-actionpack (= 2:6.1.7.3+dfsg-3), ruby-actiontext (= 2:6.1.7.3+dfsg-3), ruby-actionview (= 2:6.1.7.3+dfsg-3), ruby-activejob (= 2:6.1.7.3+dfsg-3), ruby-activemodel (= 2:6.1.7.3+dfsg-3), ruby-activerecord (= 2:6.1.7.3+dfsg-3), ruby-activestorage (= 2:6.1.7.3+dfsg-3), ruby-activesupport (= 2:6.1.7.3+dfsg-3), ruby-bundler, ruby-railties (= 2:6.1.7.3+dfsg-3), 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~)
Filename: pool/universe/r/rails/ruby-rails_6.1.7.3+dfsg-3_all.deb
Size: 20770
MD5sum: e488bdb801c6ce8261d0c730c2bb9273
SHA1: db3a81b5b96fda886d9117b4b8600b143672d267
SHA256: cfdfd6f2d7e4dcac20427017921c08115d038308841d063a77983f46c75d9c71
SHA512: 84d73549fdd5fd4dfbf5f8a4a772c95acf5f5017cea76856f1f13515cee5d10a2dd6001c0b6c1d5784dd6e9337eec8c613ce9fdeb1a12c9d0a5c29fe3a0256f7
Homepage: https://rubyonrails.org/
Description: MVC ruby based framework geared for web application development
Description-md5: bb28dc2452d17b899bf418f70fe748a1