How To Install brotli on Fedora 34

brotli is Lossless compression algorithm Lossless compression algorithm

Introduction

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

What is brotli

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. brotli 1.0.9 4.fc34 x86_64 321 k brotli-1.0.9-4.fc34.src.rpm fedora Lossless compression algorithm https MIT 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 brotli on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install brotli.

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

sudo dnf -y install brotli

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

sudo yum -y install brotli

How To Uninstall brotli on Fedora 34

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

sudo dnf remove brotli

brotli Package Contents on Fedora 34

/usr/bin/brotli
/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/64b585168c8d6e23ca2e3c5b79a15c6567f931
/usr/bin/brotli
/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/9c28173c05ba5d80d9fa91e4d2fd216925bf0a

References

Summary

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