How to Install and Uninstall ruby3.1 Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: May 18,2024

1. Install "ruby3.1" package

This tutorial shows how to install ruby3.1 on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install ruby3.1

2. Uninstall "ruby3.1" package

Please follow the step by step instructions below to uninstall ruby3.1 on Ubuntu 22.10 (Kinetic Kudu):

$ sudo apt remove ruby3.1 $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby3.1 package on Ubuntu 22.10 (Kinetic Kudu)

Package: ruby3.1
Architecture: amd64
Version: 3.1.2-2
Multi-Arch: allowed
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 142
Depends: rubygems-integration (>= 1.17.1~), libc6 (>= 2.34), libcrypt1 (>= 1:4.1.0), libgmp10 (>= 2:6.2.1+dfsg), libruby3.1 (>= 3.1.0~preview1), zlib1g (>= 1:1.1.4)
Recommends: fonts-lato, libjs-jquery
Filename: pool/universe/r/ruby3.1/ruby3.1_3.1.2-2_amd64.deb
Size: 48946
MD5sum: 7eb05679e18724a56b1e3900c9a5bb1f
SHA1: dc8f6c587bb5eb84a3cbeda4a152abedf516062f
SHA256: ab330009fbae7e0fc938600f84759d9953b1472dc98dcc3b89f2d8567185d2d2
SHA512: d0eefcb5a55d8032649e4e0d73ceca08b16af876a936494d246a843824a66baf4445cd296e07d207f3f8c0ab7f659dccb1b9d2a8673a673b39aa33064088a6b8
Homepage: https://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby
Description-md5: 600c74e45bc6685da6003707bbeb9b6c