How to Install and Uninstall ruby Package on Debian 10 (Buster)

Last updated: May 13,2024

1. Install "ruby" package

This guide covers the steps necessary to install ruby on Debian 10 (Buster)

$ sudo apt update $ sudo apt install ruby

2. Uninstall "ruby" package

This guide covers the steps necessary to uninstall ruby on Debian 10 (Buster):

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

3. Information about the ruby package on Debian 10 (Buster)

Package: ruby
Source: ruby-defaults
Version: 1:2.5.1
Installed-Size: 37
Maintainer: Antonio Terceiro
Architecture: amd64
Replaces: irb, rdoc, rubygems
Provides: irb, rdoc, rubygems
Depends: ruby2.5
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-debian (<< 0.3.8+b3), ruby-switch (<= 0.1.0)
Description: Interpreter of object-oriented scripting language Ruby (default version)
Description-md5: 9b1885fba57cb2974ce14902f85d3e27
Multi-Arch: allowed
Homepage: http://www.ruby-lang.org/
Tag: devel::interpreter, devel::lang:ruby, devel::runtime,
implemented-in::ruby, interface::commandline, role::dummy,
role::metapackage, role::program, works-with::software:source
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-defaults/ruby_2.5.1_amd64.deb
Size: 11340
MD5sum: b1fd4e96ae4cc3385ded3f994fac7155
SHA256: df06d9ce9e2090d9cb2e8cd1f4d7754a803dc452bf93e3204e3acd3b95508628