How To Install lizardfs-common on Ubuntu 18.04

In this tutorial we learn how to install lizardfs-common on Ubuntu 18.04. lizardfs-common is LizardFS - common files

Introduction

In this tutorial we learn how to install lizardfs-common on Ubuntu 18.04.

What is lizardfs-common

lizardfs-common is:

Files and services common for all LizardFS daemons.

LizardFS is a reliable, scalable and efficient distributed file system. It spreads data over a number of physical servers, making it visible to an end user as a single file system.

Functions such as data replication, checksums, instant snapshots and easy connection of additional servers make LizardFS a perfect solution for users who need fault-proof storage ready for future expansion. LizardFS features include:

  • High availbility.
  • Quotas.
  • POSIX Access Control Lists and POSIX Extended Attributes.
  • I/O bandwidth limiting.

LizardFS can be used whenever one needs to store large quantities of data in a secure way and process them swiftly. LizardFS is a fork of MooseFS.

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

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

sudo apt-get update

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

sudo apt-get -y install lizardfs-common

Install lizardfs-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lizardfs-common

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

sudo aptitude -y install lizardfs-common

How To Uninstall lizardfs-common on Ubuntu 18.04

To uninstall only the lizardfs-common package we can use the following command:

sudo apt-get remove lizardfs-common

Uninstall lizardfs-common And Its Dependencies

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

sudo apt-get -y autoremove lizardfs-common

Remove lizardfs-common Configurations and Data

To remove lizardfs-common configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge lizardfs-common

Remove lizardfs-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lizardfs-common

References

Summary

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