How To Install brotli-devel on CentOS 8

brotli-devel is Lossless compression algorithm (development files) Lossless compression algorithm (development files)

Introduction

In this tutorial we learn how to install brotli-devel on CentOS 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 brotli-devel 1.0.6 3.el8 x86_64 31 k brotli-1.0.6-3.el8.src.rpm appstream Lossless compression algorithm (development files) 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. This package installs the development files

We can use yum or dnf to install brotli-devel on CentOS 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 CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove brotli-devel

brotli-devel Package Contents on CentOS 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 CentOS 8 using yum and dnf.