How to Install and Uninstall ruby2.5 Package on openSUSE Leap

Last updated: May 09,2024

1. Install "ruby2.5" package

In this section, we are going to explain the necessary steps to install ruby2.5 on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ruby2.5

2. Uninstall "ruby2.5" package

Please follow the guidance below to uninstall ruby2.5 on openSUSE Leap:

$ sudo zypper remove ruby2.5

3. Information about the ruby2.5 package on openSUSE Leap

Information for package ruby2.5:
--------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : ruby2.5
Version : 2.5.9-150000.4.29.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 1.4 MiB
Installed : No
Status : not installed
Source package : ruby2.5-2.5.9-150000.4.29.1.src
Upstream URL : https://www.ruby-lang.org/
Summary : An Interpreted Object-Oriented Scripting Language
Description :
Ruby is an interpreted scripting language for object-oriented programming. It
has many features for processing text files and performing system management
tasks (as in Perl). It is 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)