How To Install libzstd on Fedora 36

In this tutorial we learn how to install libzstd in Fedora 36. libzstd is Zstd shared library

Introduction

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

What is libzstd

Zstandard compression shared library.

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

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

sudo dnf -y install libzstd

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

sudo yum -y install libzstd

How To Uninstall libzstd on Fedora 36

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

sudo dnf remove libzstd

libzstd Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/6c66e03a74bad3b4adb00522d04fbd67d44275
/usr/lib64/libzstd.so.1
/usr/lib64/libzstd.so.1.5.2
/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 36 using yum and [dnf]((/fedora/36/dnf/).