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

Last updated: November 22,2024

1. Install "ruby-rails" package

Please follow the step by step instructions below to install ruby-rails on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install ruby-rails

2. Uninstall "ruby-rails" package

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

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

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

Package: ruby-rails
Architecture: all
Version: 2:5.2.3+dfsg-3
Priority: optional
Section: universe/ruby
Source: rails
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 51
Depends: ruby-actionmailer (= 2:5.2.3+dfsg-3), ruby-actionpack (= 2:5.2.3+dfsg-3), ruby-actionview (= 2:5.2.3+dfsg-3), ruby-activemodel (= 2:5.2.3+dfsg-3), ruby-activerecord (= 2:5.2.3+dfsg-3), ruby-activesupport (= 2:5.2.3+dfsg-3), ruby-activestorage (= 2:5.2.3+dfsg-3), ruby-actioncable (= 2:5.2.3+dfsg-3), ruby-activejob (= 2:5.2.3+dfsg-3), ruby-bundler (>= 2.1.4), ruby-railties (= 2:5.2.3+dfsg-3), ruby-sprockets-rails (>= 2.3.2~)
Filename: pool/universe/r/rails/ruby-rails_5.2.3+dfsg-3_all.deb
Size: 13268
MD5sum: 065a7dfc0468dd74eafcbfc352edfd80
SHA1: 9603dd77b85dbc9ca3fa18b3647d4ae56801f63c
SHA256: 7bfa62f9aef709d095fb414955ce78e9d25505c5f54cca960fbac3f2746a47f2
Homepage: http://www.rubyonrails.org
Description: MVC ruby based framework geared for web application development
Description-md5: bb28dc2452d17b899bf418f70fe748a1
Ruby-Versions: all