How to Install and Uninstall ruby3.1 Package on Debian 12 (Bookworm)

Last updated: October 06,2024

1. Install "ruby3.1" package

Please follow the guidance below to install ruby3.1 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ruby3.1

2. Uninstall "ruby3.1" package

Learn how to uninstall ruby3.1 on Debian 12 (Bookworm):

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

3. Information about the ruby3.1 package on Debian 12 (Bookworm)

Package: ruby3.1
Version: 3.1.2-7
Installed-Size: 728
Maintainer: Debian Ruby Team
Architecture: amd64
Depends: rubygems-integration (>= 1.17.1~), libc6 (>= 2.34), libcrypt1 (>= 1:4.1.0), libgmp10 (>= 2:6.2.1+dfsg1), libruby3.1 (>= 3.1.0~preview1), zlib1g (>= 1:1.1.4)
Recommends: fonts-lato, libjs-jquery
Description: Interpreter of object-oriented scripting language Ruby
Description-md5: 600c74e45bc6685da6003707bbeb9b6c
Multi-Arch: allowed
Homepage: https://www.ruby-lang.org/
Section: ruby
Priority: optional
Filename: pool/main/r/ruby3.1/ruby3.1_3.1.2-7_amd64.deb
Size: 663184
MD5sum: 99c6f715f7324b4efa3155c5c4b55e1f
SHA256: 814820e040bbbae38a51bd28ce3049d194e35174031cf5574042b22ee7c9aaaf