How To Install dvcs-autosync on Ubuntu 18.04
Introduction
In this tutorial we learn how to install dvcs-autosync
on Ubuntu 18.04.
What is dvcs-autosync
dvcs-autosync is:
dvcs-autosync is an open source replacement for Dropbox/Wuala/Box.net/etc. based on distributed version control systems (DVCS). It offers nearly instantaneous mutual updates when a file is added or changed on one side but with the added benefit of (local, distributed) versioning and that it does not rely on a centralized service provider, but can be used with any DVCS hosting option including a completely separate server.
Synchronization of directories is based on DVCS repositories. Git is used for main development and is being tested most thoroughly as the backend storage, but other DVCS such as Mercurial are also supported. dvcs-autosync is comparable to SparkleShare in terms of overall aim, but takes a more minimalistic approach. A single Python script monitors the configured directory for live changes, commits these changes to the DVCS (such as git) and synchronizes with other instances using XMPP messages.
There are three methods to install dvcs-autosync
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install dvcs-autosync Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install dvcs-autosync
using apt-get
by running the following command:
sudo apt-get -y install dvcs-autosync
Install dvcs-autosync Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install dvcs-autosync
using apt
by running the following command:
sudo apt -y install dvcs-autosync
Install dvcs-autosync 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install dvcs-autosync
using aptitude
by running the following command:
sudo aptitude -y install dvcs-autosync
How To Uninstall dvcs-autosync on Ubuntu 18.04
To uninstall only the dvcs-autosync
package we can use the following command:
sudo apt-get remove dvcs-autosync
Uninstall dvcs-autosync And Its Dependencies
To uninstall dvcs-autosync
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove dvcs-autosync
Remove dvcs-autosync Configurations and Data
To remove dvcs-autosync
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge dvcs-autosync
Remove dvcs-autosync configuration, data, and all of its dependencies
We can use the following command to remove dvcs-autosync
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dvcs-autosync
References
Summary
In this tutorial we learn how to install dvcs-autosync
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.