How To Install libbrotli on Fedora 36

In this tutorial we learn how to install libbrotli in Fedora 36. libbrotli is Library for brotli lossless compression algorithm

Introduction

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

What is libbrotli

Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression.

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

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

sudo dnf -y install libbrotli

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

sudo yum -y install libbrotli

How To Uninstall libbrotli on Fedora 36

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

sudo dnf remove libbrotli

libbrotli Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/86194e4cc0a3dbb26c5c37cb8ec980e3bf49dd
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/6d234b851d7a75196b6e8895a24830a14f2f9c
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/790c03a5c688b7e75e89676cdd2b5fcf247a6f
/usr/lib64/libbrotlicommon.so.1
/usr/lib64/libbrotlicommon.so.1.0.9
/usr/lib64/libbrotlidec.so.1
/usr/lib64/libbrotlidec.so.1.0.9
/usr/lib64/libbrotlienc.so.1
/usr/lib64/libbrotlienc.so.1.0.9
/usr/share/licenses/libbrotli
/usr/share/licenses/libbrotli/LICENSE

References

Summary

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