How To Install syrep on Debian 10
Introduction
In this tutorial we learn how to install syrep
on Debian 10.
What is syrep
syrep is:
syrep is a generic file repository synchronization tool. It may be used to synchronize large file hierarchies bidirectionally by exchanging patch files. Syrep is truely peer-to-peer, no central servers are involved. Synchronizations between more than two repositories are supported. The patch files may be transferred via offline media, e.g. removable hard disks or compact discs.
Files are tracked by their message digests, currently MD5. The following file operations are tracked in the snapshot files: creation, deletion, modification, creation of new hard or symbolic links, renaming. (The latter is nothing more than a new hard link and removal of the old file). syrep doesn’t distinguish between soft and hard links. In fact even copies of files are treated as the same. Currently, syrep doesn’t synchronize file attributes like access modes or modification times.
Syrep was written to facilitate the synchronization of two large digital music repositories without direct network connection. Patch files of several gigabytes are common in this situation.
Syrep is able to cope with 64 bit file sizes. (LFS)
Syrep is optimized for speed. It may make use of a message digest cache to accelerate the calculation of digests of a whole directory hierarchy
There are three methods to install syrep
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install syrep Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install syrep
using apt-get
by running the following command:
sudo apt-get -y install syrep
Install syrep Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install syrep
using apt
by running the following command:
sudo apt -y install syrep
Install syrep Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install syrep
using aptitude
by running the following command:
sudo aptitude -y install syrep
How To Uninstall syrep on Debian 10
To uninstall only the syrep
package we can use the following command:
sudo apt-get remove syrep
Uninstall syrep And Its Dependencies
To uninstall syrep
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove syrep
Remove syrep Configurations and Data
To remove syrep
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge syrep
Remove syrep configuration, data, and all of its dependencies
We can use the following command to remove syrep
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge syrep
Dependencies
syrep have the following dependencies:
References
Summary
In this tutorial we learn how to install syrep
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.