How To Install rubygem-http-cookie on Fedora 36

In this tutorial we learn how to install rubygem-http-cookie in Fedora 36. rubygem-http-cookie is Ruby library to handle HTTP Cookies based on RFC 6265

Introduction

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

HTTP has with security, standards compliance and compatibility in mind, to behave just the same as today’s major web browsers. It has builtin support for the legacy cookies.txt and the latest cookies.sqlite formats of Mozilla Firefox, and its modular API makes it easy to add support for a new backend store.

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

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rubygem-http-cookie using dnf by running the following command:

sudo dnf -y install rubygem-http-cookie

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rubygem-http-cookie using yum by running the following command:

sudo yum -y install rubygem-http-cookie

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

sudo dnf remove rubygem-http-cookie
/usr/share/gems/gems/http-cookie-1.0.4
/usr/share/gems/gems/http-cookie-1.0.4/CHANGELOG.md
/usr/share/gems/gems/http-cookie-1.0.4/LICENSE.txt
/usr/share/gems/gems/http-cookie-1.0.4/README.md
/usr/share/gems/gems/http-cookie-1.0.4/lib
/usr/share/gems/gems/http-cookie-1.0.4/lib/http
/usr/share/gems/gems/http-cookie-1.0.4/lib/http-cookie.rb
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie.rb
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie/ruby_compat.rb
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie/scanner.rb
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie/version.rb
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie_jar
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie_jar.rb
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie_jar/abstract_saver.rb
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie_jar/abstract_store.rb
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie_jar/cookiestxt_saver.rb
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie_jar/hash_store.rb
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie_jar/mozilla_store.rb
/usr/share/gems/gems/http-cookie-1.0.4/lib/http/cookie_jar/yaml_saver.rb
/usr/share/gems/specifications/http-cookie-1.0.4.gemspec

References

Summary

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