How To Install rubygem-gist on Fedora 36

In this tutorial we learn how to install rubygem-gist in Fedora 36. rubygem-gist is Upload content to https

Introduction

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

What is rubygem-gist

Upload source code, text files and similar content to https or a local GitHub Enterprise instance. This package provides the gist command line utility and a single function (Gist.gist) that uploads a gist.

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

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

sudo dnf -y install rubygem-gist

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

sudo yum -y install rubygem-gist

How To Uninstall rubygem-gist on Fedora 36

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

sudo dnf remove rubygem-gist

rubygem-gist Package Contents on Fedora 36

/usr/bin/gist
/usr/share/gems/gems/gist-6.0.0
/usr/share/gems/gems/gist-6.0.0/LICENSE.MIT
/usr/share/gems/gems/gist-6.0.0/bin
/usr/share/gems/gems/gist-6.0.0/bin/gist
/usr/share/gems/gems/gist-6.0.0/lib
/usr/share/gems/gems/gist-6.0.0/lib/gist.rb
/usr/share/gems/specifications/gist-6.0.0.gemspec
/usr/share/man/man1/gist.1.gz

References

Summary

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