How To Install zescrow-client on Ubuntu 18.04
Introduction
In this tutorial we learn how to install zescrow-client
on Ubuntu 18.04.
What is zescrow-client
zescrow-client is:
zescrow-client provides the zescrow (formerly ecryptfs-escrow-private) utility, which can be used to upload a backup of an eCryptfs Encrypted Home or eCryptfs Encrypted Private configuration to a zEscrow compatible server.
zEscrow.gazzang.com is one such compatible server, an implementation of the AGPL free software available at https://launchpad.net/zEscrow.
zEscrow will:
- prompt for your chosen zEscrow server
- retrieve the public GPG key of that zEscrow server
- prompt for your login passphrase
- use your login passphrase to decrypt your mount passphrase
- create a tar archive of your ~/.ecryptfs directory and decrypted mount passphrase
- gpg encrypt that archive the your zEscrow server’s public key
- upload your encrypted archive to your zEscrow server
- display a URL and offer to launch a browser, where you must go to associate a Google account and email address with your backup
There are three methods to install zescrow-client
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 zescrow-client Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install zescrow-client
using apt-get
by running the following command:
sudo apt-get -y install zescrow-client
Install zescrow-client Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install zescrow-client
using apt
by running the following command:
sudo apt -y install zescrow-client
Install zescrow-client 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 zescrow-client
using aptitude
by running the following command:
sudo aptitude -y install zescrow-client
How To Uninstall zescrow-client on Ubuntu 18.04
To uninstall only the zescrow-client
package we can use the following command:
sudo apt-get remove zescrow-client
Uninstall zescrow-client And Its Dependencies
To uninstall zescrow-client
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove zescrow-client
Remove zescrow-client Configurations and Data
To remove zescrow-client
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge zescrow-client
Remove zescrow-client configuration, data, and all of its dependencies
We can use the following command to remove zescrow-client
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge zescrow-client
References
Summary
In this tutorial we learn how to install zescrow-client
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.