How To Install brotli-devel on Rocky Linux 8

In this tutorial we learn how to install brotli-devel on Rocky Linux 8. brotli-devel is Lossless compression algorithm (development files)

Introduction

In this tutorial we learn how to install brotli-devel on Rocky Linux 8.

What is brotli-devel

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. This package installs the development files

We can use yum or dnf to install brotli-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install brotli-devel.

Install brotli-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install brotli-devel using dnf by running the following command:

sudo dnf -y install brotli-devel

Install brotli-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install brotli-devel using yum by running the following command:

sudo yum -y install brotli-devel

How To Uninstall brotli-devel on Rocky Linux 8

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

sudo dnf remove brotli-devel

brotli-devel Package Contents on Rocky Linux 8

/usr/include/brotli
/usr/include/brotli/decode.h
/usr/include/brotli/encode.h
/usr/include/brotli/port.h
/usr/include/brotli/types.h
/usr/lib/libbrotlicommon.so
/usr/lib/libbrotlidec.so
/usr/lib/libbrotlienc.so
/usr/lib/pkgconfig/libbrotlicommon.pc
/usr/lib/pkgconfig/libbrotlidec.pc
/usr/lib/pkgconfig/libbrotlienc.pc
/usr/share/man/man3/decode.h.3brotli.gz
/usr/share/man/man3/encode.h.3brotli.gz
/usr/share/man/man3/types.h.3brotli.gz
/usr/include/brotli
/usr/include/brotli/decode.h
/usr/include/brotli/encode.h
/usr/include/brotli/port.h
/usr/include/brotli/types.h
/usr/lib64/libbrotlicommon.so
/usr/lib64/libbrotlidec.so
/usr/lib64/libbrotlienc.so
/usr/lib64/pkgconfig/libbrotlicommon.pc
/usr/lib64/pkgconfig/libbrotlidec.pc
/usr/lib64/pkgconfig/libbrotlienc.pc
/usr/share/man/man3/decode.h.3brotli.gz
/usr/share/man/man3/encode.h.3brotli.gz
/usr/share/man/man3/types.h.3brotli.gz

References

Summary

In this tutorial we learn how to install brotli-devel on Rocky Linux 8 using yum and dnf.