How to Install and Uninstall ruby Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: December 24,2024
1. Install "ruby" package
Here is a brief guide to show you how to install ruby on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
ruby
Copied
2. Uninstall "ruby" package
Please follow the steps below to uninstall ruby on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
ruby
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ruby package on Ubuntu 20.04 LTS (Focal Fossa)
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
Homepage: https://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby (default version)
Description-md5: 53b76e874611c6e48c73acd5da40075e
Task: ubuntu-budgie-desktop
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
Homepage: https://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby (default version)
Description-md5: 53b76e874611c6e48c73acd5da40075e
Task: ubuntu-budgie-desktop