How To Install libbrotli on Fedora 34
Introduction
In this tutorial we learn how to install libbrotli
on Fedora 34.
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. libbrotli 1.0.9 4.fc34 i686 324 k brotli-1.0.9-4.fc34.src.rpm fedora Library for brotli 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 libbrotli
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libbrotli.
Install libbrotli 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 libbrotli
using dnf
by running the following command:
sudo dnf -y install libbrotli
Install libbrotli 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 libbrotli
using yum
by running the following command:
sudo yum -y install libbrotli
How To Uninstall libbrotli on Fedora 34
To uninstall only the libbrotli
package we can use the following command:
sudo dnf remove libbrotli
libbrotli Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/d5bb56051a518c5e76917c144c0b3fb42a4b0c
/usr/lib/.build-id/50
/usr/lib/.build-id/50/014dfc75abad6ce36962ce5e3d11152aebec27
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/b751ccd5de4bfa5043176d44a3c056b3d77651
/usr/lib/libbrotlicommon.so.1
/usr/lib/libbrotlicommon.so.1.0.9
/usr/lib/libbrotlidec.so.1
/usr/lib/libbrotlidec.so.1.0.9
/usr/lib/libbrotlienc.so.1
/usr/lib/libbrotlienc.so.1.0.9
/usr/share/licenses/libbrotli
/usr/share/licenses/libbrotli/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/bb3270fdbf40dbe56ea79d6630ac594b897ffe
/usr/lib/.build-id/71
/usr/lib/.build-id/71/a1976c3763d58e85244277e7780ac88e05da0e
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/1e80ec94fdd623ab98bcf9d55230dd97ec9567
/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
- [libbrotli website](https://github.com/google/brotli https://github.com/google/brotli)
Summary
In this tutorial we learn how to install libbrotli
on Fedora 34 using yum and dnf.