How To Install s3ql on Ubuntu 18.04

In this tutorial we learn how to install s3ql on Ubuntu 18.04. s3ql is Full-featured file system for online data storage

Introduction

In this tutorial we learn how to install s3ql on Ubuntu 18.04.

What is s3ql

s3ql is:

S3QL is a file system that stores all its data online using storage services like Google Storage, Amazon S3 or OpenStack. S3QL effectively provides a hard disk of dynamic, infinite capacity that can be accessed from any computer with internet access.

S3QL is a standard conforming, full featured UNIX file system that is conceptually indistinguishable from any local file system. Furthermore, S3QL has additional features like compression, encryption, data de-duplication, immutable trees and snapshotting which make it especially suitable for online backup and archival.

In addition to accessing online storage services directoly, S3QL can also store its data underneath a regular mount point. This enables the use of S3QL with e.g. NFS, CIFS or sftp servers.

S3QL is designed to favor simplicity and elegance over performance and feature-creep. Care has been taken to make the source code as readable and serviceable as possible. Solid error detection and error handling have been included from the very first line, and S3QL comes with extensive automated test cases.

There are three methods to install s3ql 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 s3ql Using apt-get

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

sudo apt-get update

After updating apt database, We can install s3ql using apt-get by running the following command:

sudo apt-get -y install s3ql

Install s3ql Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install s3ql using apt by running the following command:

sudo apt -y install s3ql

Install s3ql 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 s3ql using aptitude by running the following command:

sudo aptitude -y install s3ql

How To Uninstall s3ql on Ubuntu 18.04

To uninstall only the s3ql package we can use the following command:

sudo apt-get remove s3ql

Uninstall s3ql And Its Dependencies

To uninstall s3ql and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove s3ql

Remove s3ql Configurations and Data

To remove s3ql configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge s3ql

Remove s3ql configuration, data, and all of its dependencies

We can use the following command to remove s3ql configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge s3ql

References

Summary

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