How to Install and Uninstall ruby Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 13,2024

1. Install "ruby" package

This is a short guide on how to install ruby on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install ruby

2. Uninstall "ruby" package

Please follow the instructions below to uninstall ruby on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the ruby package on Ubuntu 23.10 (Mantic Minotaur)

Package: ruby
Architecture: amd64
Version: 1:3.1
Multi-Arch: allowed
Priority: optional
Section: interpreters
Source: ruby-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29
Provides: irb, rdoc, rubygems
Depends: ruby3.1, libruby (= 1:3.1), ruby-rubygems
Suggests: ri, ruby-dev
Conflicts: ruby-activesupport-2.3, ruby-activesupport-3.2
Breaks: ruby-bootsnap (<< 1.4.6-1), ruby-switch (<= 0.1.0)
Replaces: irb, rdoc, rubygems
Filename: pool/main/r/ruby-defaults/ruby_3.1_amd64.deb
Size: 3470
MD5sum: da805b52e7b8cfe309dc1b33e8838658
SHA1: 1ce4f971ef52dccc635f10c59b438b01288a8e54
SHA256: 6bf3a396fac3e778e3b85dbf860a2fe7108a04fc9f9c43e44a963007122aef10
SHA512: dce7573699fbe1dbe7b2a51ba3927694506af49bf3f6638fadfe7b71fb74a3aa80e703119ebc53b55d0aea5546b124be5c277d91b1285ec6a9d42bc953e927bd
Homepage: https://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby (default version)
Description-md5: 4a8f64f82049fcedc6a9e45cb74e85f4