How To Install libkiokudb-perl on Ubuntu 18.04

In this tutorial we learn how to install libkiokudb-perl on Ubuntu 18.04. libkiokudb-perl is Perl module for object persistence

Introduction

In this tutorial we learn how to install libkiokudb-perl on Ubuntu 18.04.

What is libkiokudb-perl

libkiokudb-perl is:

KiokuDB is a Moose based frontend to various data stores, somewhere in between Tangram and Pixie.

Its purpose is to provide persistence for “regular” objects with as little effort as possible, without sacrificing control over how persistence is actually done, especially for harder to serialize objects.

KiokuDB is also non-invasive: it does not use ties, AUTOLOAD, proxy objects, sv_magic or any other type of trickery.

Many features important for proper Perl space semantics are supported, including shared data, circular structures, weak references, tied structures, etc.

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

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

sudo apt-get update

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

sudo apt-get -y install libkiokudb-perl

Install libkiokudb-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libkiokudb-perl

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

sudo aptitude -y install libkiokudb-perl

How To Uninstall libkiokudb-perl on Ubuntu 18.04

To uninstall only the libkiokudb-perl package we can use the following command:

sudo apt-get remove libkiokudb-perl

Uninstall libkiokudb-perl And Its Dependencies

To uninstall libkiokudb-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libkiokudb-perl

Remove libkiokudb-perl Configurations and Data

To remove libkiokudb-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libkiokudb-perl

Remove libkiokudb-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libkiokudb-perl

References

Summary

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