How To Install libzstd on Fedora 34

libzstd is Zstd shared library Zstd shared library

Introduction

In this tutorial we learn how to install libzstd on Fedora 34.

What is libzstd

Zstandard compression shared library. libzstd 1.5.0 1.fc34 i686 359 k zstd-1.5.0-1.fc34.src.rpm updates Zstd shared library https BSD and GPLv2 Zstandard compression shared library.

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

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

sudo dnf -y install libzstd

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

sudo yum -y install libzstd

How To Uninstall libzstd on Fedora 34

To uninstall only the libzstd package we can use the following command:

sudo dnf remove libzstd

libzstd Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/70d80a1bf749b3c2baaad0188c864ee9e4bbc4
/usr/lib64/libzstd.so.1
/usr/lib64/libzstd.so.1.4.9
/usr/share/licenses/libzstd
/usr/share/licenses/libzstd/COPYING
/usr/share/licenses/libzstd/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/914bb8aa514a04f4e91d93c3bd8fe178590c83
/usr/lib/libzstd.so.1
/usr/lib/libzstd.so.1.4.9
/usr/share/licenses/libzstd
/usr/share/licenses/libzstd/COPYING
/usr/share/licenses/libzstd/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/2f02e59879b73a2a119bb19611545e0acd7788
/usr/lib/libzstd.so.1
/usr/lib/libzstd.so.1.5.0
/usr/share/licenses/libzstd
/usr/share/licenses/libzstd/COPYING
/usr/share/licenses/libzstd/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/dfd9fbee620c31c6c6ece2cb4a8ab441e926ec
/usr/lib64/libzstd.so.1
/usr/lib64/libzstd.so.1.5.0
/usr/share/licenses/libzstd
/usr/share/licenses/libzstd/COPYING
/usr/share/licenses/libzstd/LICENSE

References

Summary

In this tutorial we learn how to install libzstd on Fedora 34 using yum and dnf.