How To Install libkavorka-perl on Ubuntu 18.04

In this tutorial we learn how to install libkavorka-perl on Ubuntu 18.04. libkavorka-perl is function signatures with the lure of the animal

Introduction

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

What is libkavorka-perl

libkavorka-perl is:

Kavorka provides “fun” and “method” keywords for declaring functions and methods. It uses Perl 5.14’s keyword API, so should work more reliably than source filters or Devel::Declare-based modules.

The syntax provided by Kavorka is largely inspired by Perl 6, though it has also been greatly influenced by Method::Signatures and Function::Parameters.

There are three methods to install libkavorka-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 libkavorka-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 libkavorka-perl using apt-get by running the following command:

sudo apt-get -y install libkavorka-perl

Install libkavorka-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libkavorka-perl

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

sudo aptitude -y install libkavorka-perl

How To Uninstall libkavorka-perl on Ubuntu 18.04

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

sudo apt-get remove libkavorka-perl

Uninstall libkavorka-perl And Its Dependencies

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

sudo apt-get -y autoremove libkavorka-perl

Remove libkavorka-perl Configurations and Data

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

sudo apt-get -y purge libkavorka-perl

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

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

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

References

Summary

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