How to Install and Uninstall ruby-rails Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 10,2024

1. Install "ruby-rails" package

This guide let you learn how to install ruby-rails on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install ruby-rails

2. Uninstall "ruby-rails" package

Please follow the guidelines below to uninstall ruby-rails on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the ruby-rails package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: ruby-rails
Architecture: all
Version: 2:6.1.4.1+dfsg-8ubuntu2
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: 73
Depends: ruby-actioncable (= 2:6.1.4.1+dfsg-8ubuntu2), ruby-actionmailbox (= 2:6.1.4.1+dfsg-8ubuntu2), ruby-actionmailer (= 2:6.1.4.1+dfsg-8ubuntu2), ruby-actionpack (= 2:6.1.4.1+dfsg-8ubuntu2), ruby-actiontext (= 2:6.1.4.1+dfsg-8ubuntu2), ruby-actionview (= 2:6.1.4.1+dfsg-8ubuntu2), ruby-activejob (= 2:6.1.4.1+dfsg-8ubuntu2), ruby-activemodel (= 2:6.1.4.1+dfsg-8ubuntu2), ruby-activerecord (= 2:6.1.4.1+dfsg-8ubuntu2), ruby-activestorage (= 2:6.1.4.1+dfsg-8ubuntu2), ruby-activesupport (= 2:6.1.4.1+dfsg-8ubuntu2), ruby-bundler, ruby-railties (= 2:6.1.4.1+dfsg-8ubuntu2), 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.4.1+dfsg-8ubuntu2_all.deb
Size: 20964
MD5sum: 1966d426db41de7c21bbc881dd0016ac
SHA1: 2333f6b06dcaa5719dc6ac7a820947237c70f4f7
SHA256: 43074468798b011a465e8de69453281ceb548affcae6b9d485b0f41d6aaca58a
SHA512: 1ea11945d6b0531c853dea61e3e3fa717b8056355d38ecd65617d263964e93d7690e5e4d20cc2730889532ffbce33a2f34b392a78a0badde86e666608ed7de78
Homepage: https://rubyonrails.org/
Description: MVC ruby based framework geared for web application development
Description-md5: bb28dc2452d17b899bf418f70fe748a1
Ruby-Versions: all