How To Install rubygem-net-http-persistent.noarch on Amazon Linux 2

In this tutorial we learn how to install rubygem-net-http-persistent.noarch in Amazon Linux 2. rubygem-net-http-persistent.noarch is Persistent connections using Net

Introduction

In this tutorial we learn how to install rubygem-net-http-persistent.noarch on Amazon Linux 2.

What is rubygem-net-http-persistent.noarch

Persistent connections using Net It’s thread-safe too.

We can use yum to install rubygem-net-http-persistent.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-net-http-persistent.noarch.

Install rubygem-net-http-persistent.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rubygem-net-http-persistent.noarch using yum by running the following command:

sudo yum -y install rubygem-net-http-persistent.noarch

How To Uninstall rubygem-net-http-persistent.noarch on Amazon Linux 2

To uninstall only the rubygem-net-http-persistent.noarch package we can use the following command:

sudo yum remove rubygem-net-http-persistent.noarch

rubygem-net-http-persistent.noarch Package Contents on Amazon Linux 2

/usr/share/gems/gems/net-http-persistent-2.8
/usr/share/gems/gems/net-http-persistent-2.8/History.txt
/usr/share/gems/gems/net-http-persistent-2.8/Manifest.txt
/usr/share/gems/gems/net-http-persistent-2.8/README.rdoc
/usr/share/gems/gems/net-http-persistent-2.8/lib
/usr/share/gems/gems/net-http-persistent-2.8/lib/net
/usr/share/gems/gems/net-http-persistent-2.8/lib/net/http
/usr/share/gems/gems/net-http-persistent-2.8/lib/net/http/faster.rb
/usr/share/gems/gems/net-http-persistent-2.8/lib/net/http/persistent
/usr/share/gems/gems/net-http-persistent-2.8/lib/net/http/persistent.rb
/usr/share/gems/gems/net-http-persistent-2.8/lib/net/http/persistent/ssl_reuse.rb
/usr/share/gems/specifications/net-http-persistent-2.8.gemspec

References

Summary

In this tutorial we learn how to install rubygem-net-http-persistent.noarch on Amazon Linux 2 using yum.