How To Install rubygem-msgpack on Fedora 36

In this tutorial we learn how to install rubygem-msgpack in Fedora 36. rubygem-msgpack is MessagePack, a binary-based efficient data interchange format

Introduction

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

What is rubygem-msgpack

MessagePack is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small.

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

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

sudo dnf -y install rubygem-msgpack

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

sudo yum -y install rubygem-msgpack

How To Uninstall rubygem-msgpack on Fedora 36

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

sudo dnf remove rubygem-msgpack

rubygem-msgpack Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/7113175b4ef260ad3f0dbc3d576c8450f824a5
/usr/lib64/gems/ruby/msgpack-1.1.0
/usr/lib64/gems/ruby/msgpack-1.1.0/gem.build_complete
/usr/lib64/gems/ruby/msgpack-1.1.0/msgpack
/usr/lib64/gems/ruby/msgpack-1.1.0/msgpack/msgpack.so
/usr/share/gems/gems/msgpack-1.1.0
/usr/share/gems/gems/msgpack-1.1.0/LICENSE
/usr/share/gems/gems/msgpack-1.1.0/appveyor.yml
/usr/share/gems/gems/msgpack-1.1.0/bench
/usr/share/gems/gems/msgpack-1.1.0/bench/pack.rb
/usr/share/gems/gems/msgpack-1.1.0/bench/pack_log.rb
/usr/share/gems/gems/msgpack-1.1.0/bench/pack_log_long.rb
/usr/share/gems/gems/msgpack-1.1.0/bench/pack_symbols.rb
/usr/share/gems/gems/msgpack-1.1.0/bench/run.sh
/usr/share/gems/gems/msgpack-1.1.0/bench/run_long.sh
/usr/share/gems/gems/msgpack-1.1.0/bench/run_symbols.sh
/usr/share/gems/gems/msgpack-1.1.0/bench/unpack.rb
/usr/share/gems/gems/msgpack-1.1.0/bench/unpack_log.rb
/usr/share/gems/gems/msgpack-1.1.0/bench/unpack_log_long.rb
/usr/share/gems/gems/msgpack-1.1.0/lib
/usr/share/gems/gems/msgpack-1.1.0/lib/msgpack
/usr/share/gems/gems/msgpack-1.1.0/lib/msgpack.rb
/usr/share/gems/gems/msgpack-1.1.0/lib/msgpack/factory.rb
/usr/share/gems/gems/msgpack-1.1.0/lib/msgpack/packer.rb
/usr/share/gems/gems/msgpack-1.1.0/lib/msgpack/symbol.rb
/usr/share/gems/gems/msgpack-1.1.0/lib/msgpack/unpacker.rb
/usr/share/gems/gems/msgpack-1.1.0/lib/msgpack/version.rb
/usr/share/gems/gems/msgpack-1.1.0/msgpack.org.md
/usr/share/gems/specifications/msgpack-1.1.0.gemspec

References

Summary

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