How to Install and Uninstall ruby Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 12,2024

1. Install "ruby" package

Please follow the steps below to install ruby on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ruby

2. Uninstall "ruby" package

This guide covers the steps necessary to uninstall ruby on Ubuntu 21.10 (Impish Indri):

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

3. Information about the ruby package on Ubuntu 21.10 (Impish Indri)

Package: ruby
Architecture: amd64
Version: 1:2.7+2build1
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: ruby2.7, ruby-rubygems
Suggests: ri, ruby-dev
Conflicts: ruby-activesupport-2.3, ruby-activesupport-3.2
Breaks: apt-listbugs (<< 0.1.6), rbenv (<= 0.4.0-1), ruby-bootsnap (<< 1.4.6-1), ruby-debian (<< 0.3.8+b3), ruby-switch (<= 0.1.0)
Replaces: irb, rdoc, rubygems
Filename: pool/main/r/ruby-defaults/ruby_2.7+2build1_amd64.deb
Size: 5328
MD5sum: 4989071b5e9a26cb861a245f95477c23
SHA1: f43035569629cf6723b6c2d5cab7c2a276365d32
SHA256: e4d4a2d79c182bdb5edaa2267136a29c25c47f02b5e140dbfe5275b55512c76b
SHA512: f374a959576b8f58fd165168575859a05315b4d24c9a1313fc2bf7bccc0f4c0c17fa7709500fb0ec36e9f43218e983290e2363c08ad74018a202f7495e652e0b
Homepage: https://www.ruby-lang.org/
Description-en: Interpreter of object-oriented scripting language Ruby (default version)
Ruby is the interpreted scripting language for quick and easy
object-oriented programming. It has many features to process text
files and to do system management tasks (as in perl). It is simple,
straight-forward, and extensible.
.
This package is a dependency package, which depends on Debian's default Ruby
version (currently v2.7).
Description-md5: 53b76e874611c6e48c73acd5da40075e
Task: ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi