How To Install zsync on Kali Linux
Introduction
In this tutorial we learn how to install zsync on Kali Linux.
What is zsync
zsync is:
zsync is a file transfer program to download files from remote web servers. If a previous version of a file is available locally, zsync will only download changed parts and hereby minimise the download volume. The algorithm is the same as used by rsync(1), but zsync does not require any server software (apart from a web server), nor does it need shell access. Instead, it uses a control file (.zsync file) that describes the file to be downloaded, which it uses to determine the blocks to fetch. This file is created once on the server (and not for each request) and sits next to actual file to download
There are three methods to install zsync on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install zsync Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install zsync using apt-get by running the following command:
sudo apt-get -y install zsyncInstall zsync Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install zsync using apt by running the following command:
sudo apt -y install zsyncInstall zsync Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install zsync using aptitude by running the following command:
sudo aptitude -y install zsyncHow To Uninstall zsync on Kali Linux
To uninstall only the zsync package we can use the following command:
sudo apt-get remove zsyncUninstall zsync And Its Dependencies
To uninstall zsync and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove zsyncRemove zsync Configurations and Data
To remove zsync configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge zsyncRemove zsync configuration, data, and all of its dependencies
We can use the following command to remove zsync configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge zsyncDependencies
zsync have the following dependencies:
References
Summary
In this tutorial we learn how to install zsync package on Kali Linux using different package management tools: apt, apt-get and aptitude.