How To Install zfs-zed on Ubuntu 20.04
Introduction
In this tutorial we learn how to install zfs-zed
on Ubuntu 20.04.
What is zfs-zed
zfs-zed is:
The Z file system is a pooled filesystem designed for maximum data integrity, supporting data snapshots, multiple copies, and data checksums.
This package provides the OpenZFS Event Daemon (zed). Task: ubuntu-live, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live
Package: zfs-zed Architecture: amd64 Version: 0.8.3-1ubuntu12.9 Priority: extra Section: admin 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: 258 Depends: zfsutils-linux (>= 0.8.3-1ubuntu12.9), libc6 (>= 2.28), libnvpair1linux (>= 0.8.2), libudev1 (>= 183), libuuid1 (>= 2.16), libuutil1linux (>= 0.8.3), libzfs2linux (>= 0.8.2) Filename: pool/main/z/zfs-linux/zfs-zed_0.8.3-1ubuntu12.9_amd64.deb Size: 61556 MD5sum: af45a7dc9959e72a6a5beb0a42326b8c SHA1: 37104070d8b884ff1f840fa5069e0ee6498ac0ce SHA256: 52f5ca63cf1c862b682ffe9f55dc280ccc2c9c7e75e0b2a630a62131724edd17 SHA512: 118eaeb33ce18a367bd00261644f64b1646bd590302542d27efdd7bf91817f25c26e7b9121f02c39644c04f5af592177feb112b686e999939e4bb4713c2e230c Homepage: https://zfsonlinux.org/ Description-en: OpenZFS Event Daemon The Z file system is a pooled filesystem designed for maximum data integrity, supporting data snapshots, multiple copies, and data checksums.
This package provides the OpenZFS Event Daemon (zed). Task: ubuntu-live, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live
Package: zfs-zed Architecture: amd64 Version: 0.8.3-1ubuntu12 Priority: extra Section: admin 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: 257 Depends: zfsutils-linux (>= 0.8.3-1ubuntu12), libc6 (>= 2.28), libnvpair1linux (>= 0.8.2), libudev1 (>= 183), libuuid1 (>= 2.16), libuutil1linux (>= 0.8.3), libzfs2linux (>= 0.8.2) Filename: pool/main/z/zfs-linux/zfs-zed_0.8.3-1ubuntu12_amd64.deb Size: 59736 MD5sum: bdbfb6c19001186d6c32766876a23f56 SHA1: 22d5ca9202eb588a52bf2325c0d1a3223aa158d3 SHA256: bcec03fde759316da3dfe314f38de879a62764dbb279faac809fe2625b7ec39b Homepage: https://zfsonlinux.org/ Description-en: OpenZFS Event Daemon The Z file system is a pooled filesystem designed for maximum data integrity, supporting data snapshots, multiple copies, and data checksums.
This package provides the OpenZFS Event Daemon (zed). Task: ubuntu-live, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live
There are three methods to install zfs-zed
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 zfs-zed Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install zfs-zed
using apt-get
by running the following command:
sudo apt-get -y install zfs-zed
Install zfs-zed Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install zfs-zed
using apt
by running the following command:
sudo apt -y install zfs-zed
Install zfs-zed 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 zfs-zed
using aptitude
by running the following command:
sudo aptitude -y install zfs-zed
How To Uninstall zfs-zed on Ubuntu 20.04
To uninstall only the zfs-zed
package we can use the following command:
sudo apt-get remove zfs-zed
Uninstall zfs-zed And Its Dependencies
To uninstall zfs-zed
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove zfs-zed
Remove zfs-zed Configurations and Data
To remove zfs-zed
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge zfs-zed
Remove zfs-zed configuration, data, and all of its dependencies
We can use the following command to remove zfs-zed
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge zfs-zed
References
Summary
In this tutorial we learn how to install zfs-zed
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.