How To Install rubygem-semantic on Fedora 36

In this tutorial we learn how to install rubygem-semantic in Fedora 36. rubygem-semantic is Utility class for parsing, storing, and comparing versions

Introduction

In this tutorial we learn how to install rubygem-semantic on Fedora 36.

What is rubygem-semantic

Semantic Version utility class for parsing, storing, and comparing versions.

We can use yum or dnf to install rubygem-semantic on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-semantic.

Install rubygem-semantic on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rubygem-semantic using dnf by running the following command:

sudo dnf -y install rubygem-semantic

Install rubygem-semantic on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rubygem-semantic using yum by running the following command:

sudo yum -y install rubygem-semantic

How To Uninstall rubygem-semantic on Fedora 36

To uninstall only the rubygem-semantic package we can use the following command:

sudo dnf remove rubygem-semantic

rubygem-semantic Package Contents on Fedora 36

/usr/share/gems/gems/semantic-1.6.1
/usr/share/gems/gems/semantic-1.6.1/LICENSE
/usr/share/gems/gems/semantic-1.6.1/README.md
/usr/share/gems/gems/semantic-1.6.1/lib
/usr/share/gems/gems/semantic-1.6.1/lib/semantic
/usr/share/gems/gems/semantic-1.6.1/lib/semantic.rb
/usr/share/gems/gems/semantic-1.6.1/lib/semantic/core_ext.rb
/usr/share/gems/gems/semantic-1.6.1/lib/semantic/version.rb
/usr/share/gems/specifications/semantic-1.6.1.gemspec

References

Summary

In this tutorial we learn how to install rubygem-semantic on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).