How To Install rubygem-json_spec on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-json_spec
on Fedora 36.
What is rubygem-json_spec
RSpec matchers and Cucumber steps for testing JSON content.
We can use yum
or dnf
to install rubygem-json_spec
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-json_spec.
Install rubygem-json_spec 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-json_spec
using dnf
by running the following command:
sudo dnf -y install rubygem-json_spec
Install rubygem-json_spec 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-json_spec
using yum
by running the following command:
sudo yum -y install rubygem-json_spec
How To Uninstall rubygem-json_spec on Fedora 36
To uninstall only the rubygem-json_spec
package we can use the following command:
sudo dnf remove rubygem-json_spec
rubygem-json_spec Package Contents on Fedora 36
/usr/share/gems/gems/json_spec-1.1.5
/usr/share/gems/gems/json_spec-1.1.5/LICENSE.txt
/usr/share/gems/gems/json_spec-1.1.5/lib
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/configuration.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/cucumber.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/errors.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/exclusion.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/helpers.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/be_json_eql.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/have_json_path.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/have_json_size.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/have_json_type.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/include_json.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/memory.rb
/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/messages.rb
/usr/share/gems/specifications/json_spec-1.1.5.gemspec
References
Summary
In this tutorial we learn how to install rubygem-json_spec
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).