How to Install and Uninstall ruby Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 12,2024

1. Install "ruby" package

Please follow the guidelines below to install ruby on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install ruby

2. Uninstall "ruby" package

This guide let you learn how to uninstall ruby on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the ruby package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: ruby
Architecture: amd64
Version: 1:3.0~exp1
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: 35
Provides: irb, rdoc, rubygems
Depends: ruby3.0, 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.0~exp1_amd64.deb
Size: 5100
MD5sum: daf35d7b5e1d59776df072f3a0cfc94d
SHA1: 61122cafb569c06fe4041f76bd9114b155893a65
SHA256: 4debc89c7666f1e9356201bfb7edbd5476d2e236f0dad6099bc4144832cc6763
SHA512: 2fff74108dd6fd598c3ec3bdd67b737b697dda2b78f20ade33baf5e308d56f5e001e8d669d63000916db6c36a926d2227d381aedc40911862ed6a554e75a1c70
Homepage: https://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby (default version)
Description-md5: 4f5fee568e2def2f1096758ffd17648f
Task: ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi