How To Install rubygem-httpclient on Rocky Linux 8
Introduction
In this tutorial we learn how to install rubygem-httpclient
on Rocky Linux 8.
What is rubygem-httpclient
an interface to HTTP Client for the ruby language
We can use yum
or dnf
to install rubygem-httpclient
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-httpclient.
Install rubygem-httpclient on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the rubygem-httpclient
package we can use the following command:
sudo dnf remove rubygem-httpclient
rubygem-httpclient Package Contents on Rocky Linux 8
/usr/share/gems/gems/httpclient-2.8.0
/usr/share/gems/gems/httpclient-2.8.0/bin
/usr/share/gems/gems/httpclient-2.8.0/bin/httpclient
/usr/share/gems/gems/httpclient-2.8.0/bin/jsonclient
/usr/share/gems/gems/httpclient-2.8.0/lib
/usr/share/gems/gems/httpclient-2.8.0/lib/hexdump.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/http-access2
/usr/share/gems/gems/httpclient-2.8.0/lib/http-access2.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/http-access2/cookie.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/http-access2/http.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/auth.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/cacert.pem
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/cacert1024.pem
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/connection.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/cookie.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/http.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/include_client.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/jruby_ssl_socket.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/session.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/ssl_config.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/ssl_socket.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/timeout.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/util.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/version.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/httpclient/webagent-cookie.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/jsonclient.rb
/usr/share/gems/gems/httpclient-2.8.0/lib/oauthclient.rb
/usr/share/gems/gems/httpclient-2.8.0/sample
/usr/share/gems/gems/httpclient-2.8.0/sample/async.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/auth.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/cookie.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/dav.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/howto.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/jsonclient.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/oauth_buzz.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/oauth_friendfeed.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/oauth_twitter.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/ssl
/usr/share/gems/gems/httpclient-2.8.0/sample/ssl/0cert.pem
/usr/share/gems/gems/httpclient-2.8.0/sample/ssl/0key.pem
/usr/share/gems/gems/httpclient-2.8.0/sample/ssl/1000cert.pem
/usr/share/gems/gems/httpclient-2.8.0/sample/ssl/1000key.pem
/usr/share/gems/gems/httpclient-2.8.0/sample/ssl/htdocs
/usr/share/gems/gems/httpclient-2.8.0/sample/ssl/htdocs/index.html
/usr/share/gems/gems/httpclient-2.8.0/sample/ssl/ssl_client.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/ssl/webrick_httpsd.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/stream.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/thread.rb
/usr/share/gems/gems/httpclient-2.8.0/sample/wcat.rb
/usr/share/gems/specifications/httpclient-2.8.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-httpclient
on Rocky Linux 8 using yum and dnf.