How To Install libzfs2linux on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libzfs2linux
on Ubuntu 20.04.
What is libzfs2linux
libzfs2linux is:
The Z file system is a pooled filesystem designed for maximum data integrity, supporting data snapshots, multiple copies, and data checksums.
The OpenZFS library provides support for managing OpenZFS filesystems. Task: ubuntu-live, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live
Package: libzfs2linux 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: 597 Depends: libblkid1 (>= 2.16), libc6 (>= 2.29), libnvpair1linux (>= 0.8.2), libssl1.1 (>= 1.1.0), libudev1 (>= 183), libuuid1 (>= 2.16), libuutil1linux (>= 0.8.3), zlib1g (>= 1:1.1.4) Breaks: libzfs2 Replaces: libzfs2 Filename: pool/main/z/zfs-linux/libzfs2linux_0.8.3-1ubuntu12.9_amd64.deb Size: 208772 MD5sum: 9cd5f522d70d0ce8f8a0c52dad623469 SHA1: 811d084f5ee5db26219f6b7dff9e31d1d1eb4252 SHA256: 1e35c71d1e02dd411cee48b2a2d0e4db92cdc08e4331f99da006bc039d5e65f1 SHA512: cf36ce06e4dca56a64e71f0466e31c1117a6ede2f495d93138482fabb73f1909e35495ce1d571f8871e0d7df517262bedd3ce023d1d7e6a0f3e060bd11ebb69d Homepage: https://zfsonlinux.org/ Description-en: OpenZFS filesystem library for Linux The Z file system is a pooled filesystem designed for maximum data integrity, supporting data snapshots, multiple copies, and data checksums.
The OpenZFS library provides support for managing OpenZFS filesystems. Task: ubuntu-live, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live
Package: libzfs2linux 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: 596 Depends: libblkid1 (>= 2.16), libc6 (>= 2.29), libnvpair1linux (>= 0.8.2), libssl1.1 (>= 1.1.0), libudev1 (>= 183), libuuid1 (>= 2.16), libuutil1linux (>= 0.8.3), zlib1g (>= 1:1.1.4) Breaks: libzfs2 Replaces: libzfs2 Filename: pool/main/z/zfs-linux/libzfs2linux_0.8.3-1ubuntu12_amd64.deb Size: 207008 MD5sum: 15b208cfe6b4511dd2eeea06901f3c6b SHA1: 0114403655a9bed41823dd84844fe7d4573bb851 SHA256: f205f1445d883a8a050045ab060be8d141b0d5c8d797289e0ab7f35998f4fd72 Homepage: https://zfsonlinux.org/ Description-en: OpenZFS filesystem library for Linux The Z file system is a pooled filesystem designed for maximum data integrity, supporting data snapshots, multiple copies, and data checksums.
The OpenZFS library provides support for managing OpenZFS filesystems. Task: ubuntu-live, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live
There are three methods to install libzfs2linux
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 libzfs2linux Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libzfs2linux
using apt-get
by running the following command:
sudo apt-get -y install libzfs2linux
Install libzfs2linux Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libzfs2linux
using apt
by running the following command:
sudo apt -y install libzfs2linux
Install libzfs2linux 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 libzfs2linux
using aptitude
by running the following command:
sudo aptitude -y install libzfs2linux
How To Uninstall libzfs2linux on Ubuntu 20.04
To uninstall only the libzfs2linux
package we can use the following command:
sudo apt-get remove libzfs2linux
Uninstall libzfs2linux And Its Dependencies
To uninstall libzfs2linux
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libzfs2linux
Remove libzfs2linux Configurations and Data
To remove libzfs2linux
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libzfs2linux
Remove libzfs2linux configuration, data, and all of its dependencies
We can use the following command to remove libzfs2linux
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libzfs2linux
References
Summary
In this tutorial we learn how to install libzfs2linux
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.