Linux bzip2 라이브러리 설치

(Last Updated On: December 11, 2020)

bzip2: ** Cannot –enable-pcregrep-libbz2 because bzlib.h was not found

A: Source build

cd /opt
git clone git://sourceware.org/git/bzip2.git && cd bzip2 && make && make install

B: repository pre-built

CentOS 8, 7
yum install bzip2-devel
Debian 10, 9
apt install libbz2-dev