How To Install muchsync on Ubuntu 18.04
Introduction
In this tutorial we learn how to install muchsync on Ubuntu 18.04.
What is muchsync
muchsync is:
Muchsync brings notmuch to all of your computers by synchronizing your mail messages and notmuch tags across machines. The protocol is heavily pipelined to work efficiently over high-latency networks such as mobile broadband.
Muchsync supports arbitrary pairwise synchronization among replicas. A version-vector-based algorithm allows it to exchange only the minimum information necessary to bring replicas up to date regardless of which pairs have previously synchronized.
There are three methods to install muchsync 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 muchsync Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install muchsync using apt-get by running the following command:
sudo apt-get -y install muchsync
Install muchsync Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install muchsync using apt by running the following command:
sudo apt -y install muchsync
Install muchsync 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 muchsync using aptitude by running the following command:
sudo aptitude -y install muchsync
How To Uninstall muchsync on Ubuntu 18.04
To uninstall only the muchsync package we can use the following command:
sudo apt-get remove muchsync
Uninstall muchsync And Its Dependencies
To uninstall muchsync and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove muchsync
Remove muchsync Configurations and Data
To remove muchsync configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge muchsync
Remove muchsync configuration, data, and all of its dependencies
We can use the following command to remove muchsync configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge muchsync
References
Summary
In this tutorial we learn how to install muchsync package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.