How to Install and Uninstall ruby Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 23,2024

1. Install "ruby" package

This guide covers the steps necessary to install ruby on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby

2. Uninstall "ruby" package

Please follow the instructions below to uninstall ruby on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the ruby package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby
Architecture: amd64
Version: 1:2.7+1
Multi-Arch: allowed
Priority: optional
Section: interpreters
Source: ruby-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37
Provides: irb, rdoc, rubygems
Depends: ruby2.7
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-bootsnap (<< 1.4.6-1), ruby-debian (<< 0.3.8+b3), ruby-switch (<= 0.1.0)
Replaces: irb, rdoc, rubygems
Filename: pool/main/r/ruby-defaults/ruby_2.7+1_amd64.deb
Size: 5412
MD5sum: 42a6e4709217ed89249b4f507c856937
SHA1: 21e4b1728980545bcf739e8d37ef7856ca62ea26
SHA256: 10f5b1217dfe9ce739e5b6e6a10450efe65881230985cddf994f2aa7898ffb72
SHA512: 0db83fe7d3ec1104769f6ef289522c80bc214b6fc8370f2bdb93dd3d233e749b7cf18b15710b1bffd5ed3b59d25a0d17c2fb42bea83fb79f41d8cf49e24a7abb
Homepage: https://www.ruby-lang.org/
Description-en: Interpreter of object-oriented scripting language Ruby (default version)
Ruby is the interpreted scripting language for quick and easy
object-oriented programming. It has many features to process text
files and to do system management tasks (as in perl). It is simple,
straight-forward, and extensible.
.
This package is a dependency package, which depends on Debian's default Ruby
version (currently v2.7).
Description-md5: 53b76e874611c6e48c73acd5da40075e
Task: ubuntu-budgie-desktop