How To Install zchunk on CentOS 8
Introduction
In this tutorial we learn how to install zchunk
on CentOS 8.
What is zchunk
zchunk is a compressed file format that splits the file into independent chunks. This allows you to only download the differences when downloading a new version of the file, and also makes zchunk files efficient over rsync. zchunk files are protected with strong checksums to verify that the file you downloaded is in fact the file you wanted.
We can use yum
or dnf
to install zchunk
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install zchunk.
Install zchunk 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 zchunk
using dnf
by running the following command:
sudo dnf -y install zchunk
Install zchunk 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 zchunk
using yum
by running the following command:
sudo yum -y install zchunk
How To Uninstall zchunk on CentOS 8
To uninstall only the zchunk
package we can use the following command:
sudo dnf remove zchunk
zchunk Package Contents on CentOS 8
/usr/bin/unzck
/usr/bin/zck
/usr/bin/zck_delta_size
/usr/bin/zck_gen_zdict
/usr/bin/zck_read_header
/usr/bin/zckdl
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/6ca4aea1c995a48fd93de23e8fa1f086289049
/usr/lib/.build-id/78
/usr/lib/.build-id/78/02e0b828ff0aa14d7cec8f926f0238166086ec
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/dd3e967194d01809e1b22d5f3ffdeb0b94cec0
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/6a5acd5415eef93aec71290913a6741d3154f6
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/19e854b61d9f710f5b4c4efd822109b11f4a8f
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/1002e3a2af6556541de001a0d7f735d6377061
/usr/libexec/zck_gen_xml_dictionary
/usr/share/doc/zchunk
/usr/share/doc/zchunk/README.md
/usr/share/doc/zchunk/contrib
/usr/share/doc/zchunk/contrib/gen_xml_dictionary
/usr/share/man/man1/unzck.1.gz
/usr/share/man/man1/zck.1.gz
/usr/share/man/man1/zck_delta_size.1.gz
/usr/share/man/man1/zck_gen_zdict.1.gz
/usr/share/man/man1/zck_read_header.1.gz
/usr/share/man/man1/zckdl.1.gz
References
Summary
In this tutorial we learn how to install zchunk
on CentOS 8 using yum and dnf.