How to Install and Uninstall ruby-rails Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 25,2024

1. Install "ruby-rails" package

This is a short guide on how to install ruby-rails on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-rails

2. Uninstall "ruby-rails" package

Learn how to uninstall ruby-rails on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-rails package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-rails
Priority: optional
Section: universe/ruby
Installed-Size: 54
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Source: rails
Version: 2:4.2.6-1
Depends: ruby-actionmailer (= 2:4.2.6-1), ruby-actionpack (= 2:4.2.6-1), ruby-actionview (= 2:4.2.6-1), ruby-activemodel (= 2:4.2.6-1), ruby-activerecord (= 2:4.2.6-1), ruby-activesupport (= 2:4.2.6-1), ruby-bundler (<< 2.0), ruby-bundler (>= 1.3.0), ruby-railties (= 2:4.2.6-1), ruby-sprockets-rails (<< 3.0), ruby-sprockets-rails (>= 2.3.2~), ruby-treetop
Recommends: ruby-byebug, ruby-coffee-rails (>= 4.1.0), 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.6-1_all.deb
Size: 13464
MD5sum: 62418f7aa08b2820e498254a8c34ab70
SHA1: dbcbedf2e5a10a0eb2e544df9851a86af75cb6f3
SHA256: f59dfc45999567884d3804c2ffef8961fd7140772f413e4a87fdaed4d90b2de8
Description-en: MVC ruby based framework geared for web application development
Rails is a full-stack, open-source web framework in Ruby for writing
real-world applications.
.
Being a full-stack framework means that all layers are built to work
seamlessly together. That way you don't repeat yourself and you can
use a single language from top to bottom. Everything from templates to
control flow to business logic is written in Ruby.
Description-md5: bb28dc2452d17b899bf418f70fe748a1
Homepage: http://www.rubyonrails.org
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu