How To Install rubygem-rubyzip on Fedora 36

In this tutorial we learn how to install rubygem-rubyzip in Fedora 36. rubygem-rubyzip is A ruby module for reading and writing zip files

Introduction

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

What is rubygem-rubyzip

A ruby module for reading and writing zip files.

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

Install rubygem-rubyzip 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-rubyzip using dnf by running the following command:

sudo dnf -y install rubygem-rubyzip

Install rubygem-rubyzip 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-rubyzip using yum by running the following command:

sudo yum -y install rubygem-rubyzip

How To Uninstall rubygem-rubyzip on Fedora 36

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

sudo dnf remove rubygem-rubyzip

rubygem-rubyzip Package Contents on Fedora 36

/usr/share/gems/gems/rubyzip-2.3.2
/usr/share/gems/gems/rubyzip-2.3.2/README.md
/usr/share/gems/gems/rubyzip-2.3.2/lib
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/central_directory.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/compressor.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/constants.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/crypto
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/crypto/decrypted_io.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/crypto/encryption.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/crypto/null_encryption.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/crypto/traditional_encryption.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/decompressor.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/deflater.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/dos_time.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/entry.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/entry_set.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/errors.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/extra_field
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/extra_field.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/extra_field/generic.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/extra_field/ntfs.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/extra_field/old_unix.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/extra_field/universal_time.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/extra_field/unix.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/extra_field/zip64.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/extra_field/zip64_placeholder.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/file.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/filesystem.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/inflater.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/input_stream.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/ioextras
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/ioextras.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/ioextras/abstract_input_stream.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/ioextras/abstract_output_stream.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/null_compressor.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/null_decompressor.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/null_input_stream.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/output_stream.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/pass_thru_compressor.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/pass_thru_decompressor.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/streamable_directory.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/streamable_stream.rb
/usr/share/gems/gems/rubyzip-2.3.2/lib/zip/version.rb
/usr/share/gems/specifications/rubyzip-2.3.2.gemspec

References

Summary

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