How To Install rubygem-rugged on Fedora 36

In this tutorial we learn how to install rubygem-rugged in Fedora 36. rubygem-rugged is Rugged is a Ruby binding to the libgit2 library

Introduction

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

What is rubygem-rugged

Rugged is a Ruby bindings to the libgit2W C Git library. This is for testing and using the libgit2 library in a language that is awesome.

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

Install rubygem-rugged 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-rugged using dnf by running the following command:

sudo dnf -y install rubygem-rugged

Install rubygem-rugged 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-rugged using yum by running the following command:

sudo yum -y install rubygem-rugged

How To Uninstall rubygem-rugged on Fedora 36

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

sudo dnf remove rubygem-rugged

rubygem-rugged Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/60652b550a6a395db144026a976e179b407bba
/usr/lib64/gems/ruby/rugged-1.2.0
/usr/lib64/gems/ruby/rugged-1.2.0/gem.build_complete
/usr/lib64/gems/ruby/rugged-1.2.0/rugged
/usr/lib64/gems/ruby/rugged-1.2.0/rugged/rugged.so
/usr/share/gems/gems/rugged-1.2.0
/usr/share/gems/gems/rugged-1.2.0/LICENSE
/usr/share/gems/gems/rugged-1.2.0/README.md
/usr/share/gems/gems/rugged-1.2.0/lib
/usr/share/gems/gems/rugged-1.2.0/lib/rugged
/usr/share/gems/gems/rugged-1.2.0/lib/rugged.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/attributes.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/blob.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/branch.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/commit.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/console.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/credentials.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/diff
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/diff.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/diff/delta.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/diff/hunk.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/diff/line.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/index.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/object.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/patch.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/reference.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/remote.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/repository.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/submodule_collection.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/tag.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/tree.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/version.rb
/usr/share/gems/gems/rugged-1.2.0/lib/rugged/walker.rb
/usr/share/gems/specifications/rugged-1.2.0.gemspec

References

Summary

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