How To Install rubygem-httpclient on Fedora 36

In this tutorial we learn how to install rubygem-httpclient in Fedora 36. rubygem-httpclient is HTTP Client interface for ruby

Introduction

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

What is rubygem-httpclient

an interface to HTTP Client for the ruby language

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

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

sudo dnf -y install rubygem-httpclient

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

sudo yum -y install rubygem-httpclient

How To Uninstall rubygem-httpclient on Fedora 36

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

sudo dnf remove rubygem-httpclient

rubygem-httpclient Package Contents on Fedora 36

/usr/share/gems/gems/httpclient-2.8.3
/usr/share/gems/gems/httpclient-2.8.3/bin
/usr/share/gems/gems/httpclient-2.8.3/bin/httpclient
/usr/share/gems/gems/httpclient-2.8.3/bin/jsonclient
/usr/share/gems/gems/httpclient-2.8.3/lib
/usr/share/gems/gems/httpclient-2.8.3/lib/hexdump.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/http-access2
/usr/share/gems/gems/httpclient-2.8.3/lib/http-access2.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/http-access2/cookie.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/http-access2/http.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/auth.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/cacert.pem
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/cacert1024.pem
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/connection.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/cookie.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/http.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/include_client.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/jruby_ssl_socket.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/session.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/timeout.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/util.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/version.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/httpclient/webagent-cookie.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/jsonclient.rb
/usr/share/gems/gems/httpclient-2.8.3/lib/oauthclient.rb
/usr/share/gems/gems/httpclient-2.8.3/sample
/usr/share/gems/gems/httpclient-2.8.3/sample/async.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/auth.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/cookie.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/dav.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/howto.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/jsonclient.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/oauth_buzz.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/oauth_friendfeed.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/oauth_twitter.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/ssl
/usr/share/gems/gems/httpclient-2.8.3/sample/ssl/0cert.pem
/usr/share/gems/gems/httpclient-2.8.3/sample/ssl/0key.pem
/usr/share/gems/gems/httpclient-2.8.3/sample/ssl/1000cert.pem
/usr/share/gems/gems/httpclient-2.8.3/sample/ssl/1000key.pem
/usr/share/gems/gems/httpclient-2.8.3/sample/ssl/htdocs
/usr/share/gems/gems/httpclient-2.8.3/sample/ssl/htdocs/index.html
/usr/share/gems/gems/httpclient-2.8.3/sample/ssl/ssl_client.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/ssl/webrick_httpsd.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/stream.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/thread.rb
/usr/share/gems/gems/httpclient-2.8.3/sample/wcat.rb
/usr/share/gems/specifications/httpclient-2.8.3.gemspec

References

Summary

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