zopfli: command not found. How to install zopfli on CentOS and RHEL server
I got the above error on my CentOS 7 server. Do the below steps to download and install zopfli on your CentOS / Redhat server.
How to install zopfli on CentOS 7 / RHEL server
2. Install EPEL repo
3. Run the command ‘yum install -y zopfli’
Zopfli is a data compression software that can convert data to gzip, zlib and deflate formats. Zopfli was released in 2013 by Google.
First you must log into your Linux server via SSH as ‘root’ user to install zopfli package.
You should install EPEL repository before installing zopfli package.
Command to Install EPEL repo on CentOS 6 and CentOS 7 servers :
#yum install -y epel-release
Install zopfli data compression package after installing EPEL repository. Make sure EPEL repository is enabled.
yum install -y zopfli
-y = means answer yes to all questions while installing.
Steps to download and install zopfli rpm
2. Download the RPM package of zopfli from rpmfind.net website using wget command
Zopfli rpm for CentOS 7 / RHEL 7 servers :
3. Install downloaded package using rpm command
rpm -ivh zopfli-1.0.1-1.el7.x86_64.rpm
How to remove zopfli
2. Run the command ‘yum remove -y zipfli’ to uninstall the package