How To Install rubygem-http-accept on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-http-accept
on Fedora 36.
What is rubygem-http-accept
Parse Accept and Accept-Language HTTP headers.
We can use yum
or dnf
to install rubygem-http-accept
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-http-accept.
Install rubygem-http-accept 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-http-accept
using dnf
by running the following command:
sudo dnf -y install rubygem-http-accept
Install rubygem-http-accept 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-http-accept
using yum
by running the following command:
sudo yum -y install rubygem-http-accept
How To Uninstall rubygem-http-accept on Fedora 36
To uninstall only the rubygem-http-accept
package we can use the following command:
sudo dnf remove rubygem-http-accept
rubygem-http-accept Package Contents on Fedora 36
/usr/share/gems/gems/http-accept-2.1.1
/usr/share/gems/gems/http-accept-2.1.1/README.md
/usr/share/gems/gems/http-accept-2.1.1/lib
/usr/share/gems/gems/http-accept-2.1.1/lib/http
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept.rb
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept/charsets.rb
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept/content_type.rb
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept/encodings.rb
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept/languages.rb
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept/media_types
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept/media_types.rb
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept/media_types/map.rb
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept/parse_error.rb
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept/quoted_string.rb
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept/sort.rb
/usr/share/gems/gems/http-accept-2.1.1/lib/http/accept/version.rb
/usr/share/gems/specifications/http-accept-2.1.1.gemspec
References
Summary
In this tutorial we learn how to install rubygem-http-accept
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).