How To Install spl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install spl
on Ubuntu 20.04.
What is spl
spl is:
The Solaris Porting Layer (SPL) is a Linux kernel module which provides many of the Solaris kernel APIs. This shim layer makes it possible to run Solaris kernel code in the Linux kernel with relatively minimal modification. The Solaris Porting LAyer Tests (SPLAT) is a Linux kernel module which provides a testing harness for the SPL module.
SPL can be particularly useful when you want to track upstream Illumos (or any other OpenSolaris fork) development closely and don’t want the overhead of maintaining a large patch which converts Solaris primitives to Linux primitives.
This is a transitional dummy package. It can safely be removed.
Package: spl Architecture: all Version: 0.8.3-1ubuntu12.9 Priority: extra Section: universe/kernel 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: 64 Suggests: zfs-test Filename: pool/universe/z/zfs-linux/spl_0.8.3-1ubuntu12.9_all.deb Size: 15520 MD5sum: be181c9286db95c71a48bb0243707037 SHA1: 227c981cf8cafd462c374c0e28f576fed794d382 SHA256: 3bd3a144d2ff7512814a20b25ea92ecbb86e18f68f3584b025a007eaeac10403 SHA512: a2d658d070ce95d1d1f2044b29f37092ca87b175c1748476d4af4764af3bf6ea37fd59c8b65ff7a1e1d1bf123422b801446c888b8bc10a09ace6235e0d6fd112 Homepage: https://zfsonlinux.org/ Description-en: Solaris Porting Layer user-space utilities for Linux (dummy) The Solaris Porting Layer (SPL) is a Linux kernel module which provides many of the Solaris kernel APIs. This shim layer makes it possible to run Solaris kernel code in the Linux kernel with relatively minimal modification. The Solaris Porting LAyer Tests (SPLAT) is a Linux kernel module which provides a testing harness for the SPL module.
SPL can be particularly useful when you want to track upstream Illumos (or any other OpenSolaris fork) development closely and don’t want the overhead of maintaining a large patch which converts Solaris primitives to Linux primitives.
This is a transitional dummy package. It can safely be removed.
Package: spl Architecture: all Version: 0.8.3-1ubuntu12 Priority: extra Section: universe/kernel 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: 63 Suggests: zfs-test Filename: pool/universe/z/zfs-linux/spl_0.8.3-1ubuntu12_all.deb Size: 15384 MD5sum: ee8aac488299122e7464aa73923f2af6 SHA1: 3cba56694ce7a9fd312a01b904d5ff03afb55f44 SHA256: de427b32608ca6f72ca99c0acc07e82d860642bee474eaa00a4c82144c8301ce Homepage: https://zfsonlinux.org/ Description-en: Solaris Porting Layer user-space utilities for Linux (dummy) The Solaris Porting Layer (SPL) is a Linux kernel module which provides many of the Solaris kernel APIs. This shim layer makes it possible to run Solaris kernel code in the Linux kernel with relatively minimal modification. The Solaris Porting LAyer Tests (SPLAT) is a Linux kernel module which provides a testing harness for the SPL module.
SPL can be particularly useful when you want to track upstream Illumos (or any other OpenSolaris fork) development closely and don’t want the overhead of maintaining a large patch which converts Solaris primitives to Linux primitives.
This is a transitional dummy package. It can safely be removed.
There are three methods to install spl
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 spl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install spl
using apt-get
by running the following command:
sudo apt-get -y install spl
Install spl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install spl
using apt
by running the following command:
sudo apt -y install spl
Install spl 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 spl
using aptitude
by running the following command:
sudo aptitude -y install spl
How To Uninstall spl on Ubuntu 20.04
To uninstall only the spl
package we can use the following command:
sudo apt-get remove spl
Uninstall spl And Its Dependencies
To uninstall spl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove spl
Remove spl Configurations and Data
To remove spl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge spl
Remove spl configuration, data, and all of its dependencies
We can use the following command to remove spl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge spl
References
Summary
In this tutorial we learn how to install spl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.