How To Install rubygem-rest-client on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-rest-client
on Fedora 36.
What is rubygem-rest-client
A simple HTTP and REST client for Ruby, inspired by the Sinatra microframework style of specifying actions
We can use yum
or dnf
to install rubygem-rest-client
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-rest-client.
Install rubygem-rest-client 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-rest-client
using dnf
by running the following command:
sudo dnf -y install rubygem-rest-client
Install rubygem-rest-client 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-rest-client
using yum
by running the following command:
sudo yum -y install rubygem-rest-client
How To Uninstall rubygem-rest-client on Fedora 36
To uninstall only the rubygem-rest-client
package we can use the following command:
sudo dnf remove rubygem-rest-client
rubygem-rest-client Package Contents on Fedora 36
/usr/bin/restclient
/usr/share/gems/gems/rest-client-2.1.0
/usr/share/gems/gems/rest-client-2.1.0/LICENSE
/usr/share/gems/gems/rest-client-2.1.0/bin
/usr/share/gems/gems/rest-client-2.1.0/bin/restclient
/usr/share/gems/gems/rest-client-2.1.0/lib
/usr/share/gems/gems/rest-client-2.1.0/lib/rest-client.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/rest_client.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/exceptions.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/params_array.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/payload.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/platform.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/raw_response.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/request.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/resource.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/response.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/utils.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/version.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/windows
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/windows.rb
/usr/share/gems/gems/rest-client-2.1.0/lib/restclient/windows/root_certs.rb
/usr/share/gems/specifications/rest-client-2.1.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-rest-client
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).