How To Install librinci-perl on Ubuntu 18.04

In this tutorial we learn how to install librinci-perl on Ubuntu 18.04. librinci-perl is module that provides a language-neutral metadata for your code

Introduction

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

What is librinci-perl

librinci-perl is:

Rinci is a set of extensible, language-neutral metadata specifications for your code. Rinci allows various helper tools, from code generator to web middleware to documentation generator to other protocols, to act on your code, making your life easier as a programmer.

Rinci is geared towards dynamic scripting languages like Perl, Python, Ruby, PHP, JavaScript, but is not limited to those languages.

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

sudo apt-get -y install librinci-perl

Install librinci-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librinci-perl

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

sudo aptitude -y install librinci-perl

How To Uninstall librinci-perl on Ubuntu 18.04

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

sudo apt-get remove librinci-perl

Uninstall librinci-perl And Its Dependencies

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

sudo apt-get -y autoremove librinci-perl

Remove librinci-perl Configurations and Data

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

sudo apt-get -y purge librinci-perl

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

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

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

References

Summary

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