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

Last updated: May 19,2024

1. Install "rails" package

This tutorial shows how to install rails on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install rails

2. Uninstall "rails" package

Please follow the guidelines below to uninstall rails on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: rails
Architecture: all
Version: 2:4.2.10-0ubuntu4
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34
Depends: ruby-rails (= 2:4.2.10-0ubuntu4)
Breaks: rails3
Replaces: rails3
Filename: pool/universe/r/rails/rails_4.2.10-0ubuntu4_all.deb
Size: 8812
MD5sum: b2061a3766a7b06c40e27c9710f524c2
SHA1: 9a10e4eb0d2e899d9d793a85e5fd1f783696abfb
SHA256: fc5306cbbc798b4d840d1a0ce8354375e5ec98b54ac3c52ce48d0dc1d19c250c
Homepage: http://www.rubyonrails.org
Description: MVC ruby based framework geared for web application development (metapackage)
Description-md5: 584dbe2af2cbe2732009dcf02baf0aba