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

Last updated: November 22,2024

1. Install "ri" package

In this section, we are going to explain the necessary steps to install ri on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ri

2. Uninstall "ri" package

Learn how to uninstall ri on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove ri $ sudo apt autoclean && sudo apt autoremove

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

Package: ri
Architecture: all
Version: 1:2.7+2build1
Priority: optional
Section: universe/interpreters
Source: ruby-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 19
Depends: ruby2.7, ruby2.7-doc
Filename: pool/universe/r/ruby-defaults/ri_2.7+2build1_all.deb
Size: 4418
MD5sum: 77e636e502a21ba23d90bc66df32666b
SHA1: b0d5b4d76b01705eb5e0fbf96c35d41c325c1192
SHA256: 03561cd8b0225d2af715476c874095f807ffd30cc8dddcf9508233f31b36532b
SHA512: ce4d6f8b228f64458e6128282ed97122e8bf01374d979c793548af63318ca30611b1dfc6984eb0ff46764ac6243bfff82371acb219db96ccb2b089cf6ece334b
Homepage: https://www.ruby-lang.org/
Description-en: Ruby Interactive reference
ri is a command line tool that displays descriptions of built-in Ruby
methods, classes, and modules. For methods, it shows you the calling
sequence and a description. For classes and modules, it shows a
synopsis along with a list of the methods the class or module
implements.
.
This package provides ri command and descriptions about Ruby.
This package provides the ri documentation for the Ruby standard library.
The ri executable itself is in the ruby package.
.
This package is a dependency package, which depends on Debian's default Ruby
version (currently v2.7).
Description-md5: f058289b15546e88fb742f71b96dcdc1