How To Install rakudo-lib on Debian 9

In this tutorial we learn how to install rakudo-lib on Debian 9. rakudo-lib is Library for Perl 6 implementation on top of Moar virtual machine

Introduction

In this tutorial we learn how to install rakudo-lib on Debian 9.

What is rakudo-lib

rakudo-lib is:

Rakudo Perl is a compiler that implements the Perl 6 specification and runs on top of several virtual machines. Debian rakudo package runs on top of MoarVM.

Perl 6 is a programming language, member of the Perl family. Like Perl 5, her world-famous big sister, Perl 6 intends to carry forward the high ideals of the Perl community and is currently being developed by a team of dedicated and enthusiastic volunteers.

This package provides an ELF libray required by rakudo package

There are three methods to install rakudo-lib on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install rakudo-lib Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install rakudo-lib

Install rakudo-lib Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install rakudo-lib

Install rakudo-lib 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install rakudo-lib using aptitude by running the following command:

sudo aptitude -y install rakudo-lib

How To Uninstall rakudo-lib on Debian 9

To uninstall only the rakudo-lib package we can use the following command:

sudo apt-get remove rakudo-lib

Uninstall rakudo-lib And Its Dependencies

To uninstall rakudo-lib and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove rakudo-lib

Remove rakudo-lib Configurations and Data

To remove rakudo-lib configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge rakudo-lib

Remove rakudo-lib configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge rakudo-lib

Dependencies

rakudo-lib have the following dependencies:

References

Summary

In this tutorial we learn how to install rakudo-lib package on Debian 9 using different package management tools: apt, apt-get and aptitude.