How To Install z-push-backend-imap on Ubuntu 18.04

In this tutorial we learn how to install z-push-backend-imap on Ubuntu 18.04. z-push-backend-imap is open source implementation of the ActiveSync protocol - IMAP backend

Introduction

In this tutorial we learn how to install z-push-backend-imap on Ubuntu 18.04.

What is z-push-backend-imap

z-push-backend-imap is:

Z-Push is an implementation of the ActiveSync protocol which is used ‘over-the-air’ for multi platform ActiveSync devices, including Windows Mobile, iPhone, Sony Ericsson and Nokia mobile devices. With Z-Push any groupware can be connected and synced with these devices.

The backend contained in this package allows you to sync emails to mobile devices from an IMAP server.

There are three methods to install z-push-backend-imap 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 z-push-backend-imap Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install z-push-backend-imap using apt-get by running the following command:

sudo apt-get -y install z-push-backend-imap

Install z-push-backend-imap Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install z-push-backend-imap using apt by running the following command:

sudo apt -y install z-push-backend-imap

Install z-push-backend-imap 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 z-push-backend-imap using aptitude by running the following command:

sudo aptitude -y install z-push-backend-imap

How To Uninstall z-push-backend-imap on Ubuntu 18.04

To uninstall only the z-push-backend-imap package we can use the following command:

sudo apt-get remove z-push-backend-imap

Uninstall z-push-backend-imap And Its Dependencies

To uninstall z-push-backend-imap and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove z-push-backend-imap

Remove z-push-backend-imap Configurations and Data

To remove z-push-backend-imap configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge z-push-backend-imap

Remove z-push-backend-imap configuration, data, and all of its dependencies

We can use the following command to remove z-push-backend-imap configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge z-push-backend-imap

References

Summary

In this tutorial we learn how to install z-push-backend-imap package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.