How to Install and Uninstall ruby-rails Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 22,2024

1. Install "ruby-rails" package

Please follow the steps below to install ruby-rails on Ubuntu 18.04 LTS (Bionic Beaver)

$ 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 18.04 LTS (Bionic Beaver):

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

3. Information about the ruby-rails package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: ruby-rails
Architecture: all
Version: 2:4.2.10-0ubuntu4
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: 56
Depends: ruby-actionmailer (= 2:4.2.10-0ubuntu4), ruby-actionpack (= 2:4.2.10-0ubuntu4), ruby-actionview (= 2:4.2.10-0ubuntu4), ruby-activemodel (= 2:4.2.10-0ubuntu4), ruby-activerecord (= 2:4.2.10-0ubuntu4), ruby-activesupport (= 2:4.2.10-0ubuntu4), ruby-bundler (<< 2.0), ruby-bundler (>= 1.3.0), ruby-railties (= 2:4.2.10-0ubuntu4), ruby-sprockets-rails (<< 3.0), ruby-sprockets-rails (>= 2.3.2~), ruby-treetop
Recommends: ruby-byebug, ruby-coffee-rails (>= 4.1.0), ruby-debug-inspector, ruby-jbuilder, ruby-jquery-rails, ruby-sass-rails, ruby-sdoc, ruby-spring, ruby-sqlite3, ruby-turbolinks (>= 2.5.3), ruby-uglifier, ruby-web-console
Filename: pool/universe/r/rails/ruby-rails_4.2.10-0ubuntu4_all.deb
Size: 13596
MD5sum: 56eadd65856328a77ebfb61dfabb1a4a
SHA1: 9e4fda8cf72f0f035fb3505e33fd44647539fd50
SHA256: 9d1ab352033f371a8670835045673e7a703c8f6dc8375f443b3d42af689f5af7
Homepage: http://www.rubyonrails.org
Description: MVC ruby based framework geared for web application development
Description-md5: bb28dc2452d17b899bf418f70fe748a1
Ruby-Versions: all