How to Install and Uninstall ruby Package on openSUSE Leap

Last updated: July 05,2024

1. Install "ruby" package

This is a short guide on how to install ruby on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ruby

2. Uninstall "ruby" package

In this section, we are going to explain the necessary steps to uninstall ruby on openSUSE Leap:

$ sudo zypper remove ruby

3. Information about the ruby package on openSUSE Leap

Information for package ruby:
-----------------------------
Repository : Main Repository
Name : ruby
Version : 2.5-1.21
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 84 B
Installed : No
Status : not installed
Source package : ruby-2.5-1.21.src
Upstream URL : http://www.ruby-lang.org/
Summary : An Interpreted Object-Oriented Scripting Language
Description :
Ruby is an interpreted scripting language for quick and easy
object-oriented programming. It has many features for processing text
files and performing system management tasks (as in Perl). It is
simple, straight-forward, and extensible.
* Ruby features:
- Simple Syntax
- *Normal* Object-Oriented features (class, method calls, for
example)
- *Advanced* Object-Oriented features(Mix-in, Singleton-method, for
example)
- Operator Overloading
- Exception Handling
- Iterators and Closures
- Garbage Collection
- Dynamic Loading of Object Files (on some architectures)
- Highly Portable (works on many UNIX machines; DOS, Windows, Mac,
BeOS, and more)