How To Install libzpool2linux on Ubuntu 20.04

In this tutorial we learn how to install libzpool2linux on Ubuntu 20.04. libzpool2linux is OpenZFS pool library for Linux OpenZFS pool library for Linux OpenZFS pool library for Linux

Introduction

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

What is libzpool2linux

libzpool2linux is:

The Z file system is a pooled filesystem designed for maximum data integrity, supporting data snapshots, multiple copies, and data checksums.

This zpool library provides support for managing zpools. Task: ubuntu-live, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live

Package: libzpool2linux Architecture: amd64 Version: 0.8.3-1ubuntu12.9 Priority: extra Section: libs Source: zfs-linux Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian ZFS on Linux maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2838 Depends: libblkid1 (>= 2.16), libc6 (>= 2.28), libnvpair1linux (>= 0.8.2), libudev1 (>= 183), libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4) Breaks: libzpool2 Replaces: libzpool2 Filename: pool/main/z/zfs-linux/libzpool2linux_0.8.3-1ubuntu12.9_amd64.deb Size: 813820 MD5sum: 36f1c14c14f5da44b8b720bb021714f8 SHA1: c9f39d203a334b9bb2b85180c4fa7dd8a74af62a SHA256: 9647d01def45ac52e3179b7f3f316b9d2567b741231e0cd39407dfe0416f2f02 SHA512: 1bbe08a10900c71050fd02d75b04397ed40364be3875f6eb843d627ed389c5a533c2bd02c893fecb6fc7a6acad54da8701eb2bd7cdcc8d7194c33cfa3a6556e8 Homepage: https://zfsonlinux.org/ Description-en: OpenZFS pool library for Linux The Z file system is a pooled filesystem designed for maximum data integrity, supporting data snapshots, multiple copies, and data checksums.

This zpool library provides support for managing zpools. Task: ubuntu-live, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live

Package: libzpool2linux Architecture: amd64 Version: 0.8.3-1ubuntu12 Priority: extra Section: libs Source: zfs-linux Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian ZFS on Linux maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2825 Depends: libblkid1 (>= 2.16), libc6 (>= 2.28), libnvpair1linux (>= 0.8.2), libudev1 (>= 183), libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4) Breaks: libzpool2 Replaces: libzpool2 Filename: pool/main/z/zfs-linux/libzpool2linux_0.8.3-1ubuntu12_amd64.deb Size: 805488 MD5sum: f155f02dc133a699b3183cc728b04942 SHA1: 27f0b321fd3134396f44363d8f7137bc6dde10c6 SHA256: 0e380a35184245106f9f3110796ec0966293f9a8290c2683b5d62ab4dd6daa22 Homepage: https://zfsonlinux.org/ Description-en: OpenZFS pool library for Linux The Z file system is a pooled filesystem designed for maximum data integrity, supporting data snapshots, multiple copies, and data checksums.

This zpool library provides support for managing zpools. Task: ubuntu-live, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live

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

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

sudo apt-get update

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

sudo apt-get -y install libzpool2linux

Install libzpool2linux Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libzpool2linux

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

sudo aptitude -y install libzpool2linux

How To Uninstall libzpool2linux on Ubuntu 20.04

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

sudo apt-get remove libzpool2linux

Uninstall libzpool2linux And Its Dependencies

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

sudo apt-get -y autoremove libzpool2linux

Remove libzpool2linux Configurations and Data

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

sudo apt-get -y purge libzpool2linux

Remove libzpool2linux configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libzpool2linux

References

Summary

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