How to Install and Uninstall ruby2.7 Package on Debian 11 (Bullseye)

Last updated: May 20,2024

1. Install "ruby2.7" package

Please follow the steps below to install ruby2.7 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install ruby2.7

2. Uninstall "ruby2.7" package

Please follow the instructions below to uninstall ruby2.7 on Debian 11 (Bullseye):

$ sudo apt remove ruby2.7 $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby2.7 package on Debian 11 (Bullseye)

Package: ruby2.7
Version: 2.7.4-1+deb11u1
Installed-Size: 822
Maintainer: Debian Ruby Team
Architecture: amd64
Depends: rubygems-integration (>= 1.17.1~), libc6 (>= 2.4), libruby2.7 (>= 2.7.0~preview1)
Recommends: fonts-lato, libjs-jquery
Description: Interpreter of object-oriented scripting language Ruby
Description-md5: acaf9860ea8a8843431ae8c96d9c2c19
Multi-Arch: allowed
Homepage: https://www.ruby-lang.org/
Section: ruby
Priority: optional
Filename: pool/main/r/ruby2.7/ruby2.7_2.7.4-1+deb11u1_amd64.deb
Size: 747140
MD5sum: 756424eec34bb188377293381d96013f
SHA256: 35c2d5bae868cc22fa785f0f09bf3f69731fabab26d607721eee0e07f64e15ba