How to Install and Uninstall ruby Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 23,2024

1. Install "ruby" package

This tutorial shows how to install ruby on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install ruby

2. Uninstall "ruby" package

Please follow the step by step instructions below to uninstall ruby on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the ruby package on Ubuntu 24.04 LTS (Noble Numbat)

Package: ruby
Architecture: amd64
Version: 1:3.1+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: 28
Provides: irb, rdoc, rubygems
Depends: ruby3.1, libruby (= 1:3.1+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+1_amd64.deb
Size: 3466
MD5sum: 866f4de3c457f57a9bc87376847ec32b
SHA1: e55a22926a4796b0c32535b33af8b173c62fc0ff
SHA256: 07e301f56c96de06a64cc6ffbe616c853a360adb5f872b98f6ddd95c18bd096d
SHA512: 2b6fff496232f95a4bca8b1d029bac6179d3605c0afb1c0affc81f6749e0241f650475afe0e100161eac78d2fe7d13725ad8ec7251b56adb459d23fe2f73caae
Homepage: https://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby (default version)
Description-md5: 4a8f64f82049fcedc6a9e45cb74e85f4