How To Install zsys on Ubuntu 20.04

In this tutorial we learn how to install zsys on Ubuntu 20.04. zsys is ZFS SYStem integration ZFS SYStem integration

Introduction

In this tutorial we learn how to install zsys on Ubuntu 20.04.

What is zsys

zsys is:

ZSYS is a Zfs SYStem tool targetting an enhanced ZOL experience. It allows running multiple ZFS system in parallels on the same machine, get automated snapshots, managing complex zfs dataset layouts separating user data from system and persistent data, and more. Task: ubuntu-live

Package: zsys Architecture: amd64 Version: 0.4.5 Built-Using: golang-1.13 (= 1.13.8-1ubuntu1) Priority: optional Section: admin Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 12764 Depends: libc6 (>= 2.4), libnvpair1linux (>= 0.8.2), libzfs2linux (>= 0.8.3), init-system-helpers (>= 1.52), grub2-common Filename: pool/main/z/zsys/zsys_0.4.5_amd64.deb Size: 3615600 MD5sum: b048dbdaf5c6b75d5fe53278f17f9042 SHA1: 53e48767d36a4b9b216c4c9fb18704f9c1ad8d01 SHA256: 19f8ecab08091ff064f530c8fc1241a097124ea2d8fcbc8071942abe473a209a Homepage: https://github.com/ubuntu/zsys Description-en: ZFS SYStem integration ZSYS is a Zfs SYStem tool targetting an enhanced ZOL experience. It allows running multiple ZFS system in parallels on the same machine, get automated snapshots, managing complex zfs dataset layouts separating user data from system and persistent data, and more. Task: ubuntu-live

There are three methods to install zsys on Ubuntu 20.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 zsys Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install zsys

Install zsys Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install zsys

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

sudo aptitude -y install zsys

How To Uninstall zsys on Ubuntu 20.04

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

sudo apt-get remove zsys

Uninstall zsys And Its Dependencies

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

sudo apt-get -y autoremove zsys

Remove zsys Configurations and Data

To remove zsys configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge zsys

Remove zsys configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge zsys

References

Summary

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