How To Install msgpack on Fedora 34
Introduction
In this tutorial we learn how to install msgpack
on Fedora 34.
What is 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. msgpack 3.1.0 7.fc34 x86_64 30 k msgpack-3.1.0-7.fc34.src.rpm fedora Binary-based efficient object serialization library http Boost 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 msgpack
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install msgpack.
Install msgpack on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install msgpack
using dnf
by running the following command:
sudo dnf -y install msgpack
Install msgpack on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install msgpack
using yum
by running the following command:
sudo yum -y install msgpack
How To Uninstall msgpack on Fedora 34
To uninstall only the msgpack
package we can use the following command:
sudo dnf remove msgpack
msgpack Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/33d265b9aab0e5e2f2eb0403558f7a7456f990
/usr/lib/libmsgpackc.so.2
/usr/lib/libmsgpackc.so.2.0.0
/usr/share/doc/msgpack
/usr/share/doc/msgpack/AUTHORS
/usr/share/doc/msgpack/ChangeLog
/usr/share/doc/msgpack/NOTICE
/usr/share/doc/msgpack/README
/usr/share/doc/msgpack/README.md
/usr/share/licenses/msgpack
/usr/share/licenses/msgpack/COPYING
/usr/share/licenses/msgpack/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/3f3ebeaff0aa068f7c11caec19e0dd0e712de9
/usr/lib64/libmsgpackc.so.2
/usr/lib64/libmsgpackc.so.2.0.0
/usr/share/doc/msgpack
/usr/share/doc/msgpack/AUTHORS
/usr/share/doc/msgpack/ChangeLog
/usr/share/doc/msgpack/NOTICE
/usr/share/doc/msgpack/README
/usr/share/doc/msgpack/README.md
/usr/share/licenses/msgpack
/usr/share/licenses/msgpack/COPYING
/usr/share/licenses/msgpack/LICENSE_1_0.txt
References
- [msgpack website](http://msgpack.org http://msgpack.org)
Summary
In this tutorial we learn how to install msgpack
on Fedora 34 using yum and dnf.