How To Install libelixirfm-perl on Ubuntu 18.04

In this tutorial we learn how to install libelixirfm-perl on Ubuntu 18.04. libelixirfm-perl is perl implementation for Functional Arabic Morphology

Introduction

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

What is libelixirfm-perl

libelixirfm-perl is:

The ElixirFM module reimplements some of the functionality of the ElixirFM system written in Haskell, which implements Functional Arabic Morphology.

ElixirFM can process words of Modern Written Arabic using four different modes.

You can find documentation for this module at http://elixir-fm.wiki.sourceforge.net/

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

sudo apt-get -y install libelixirfm-perl

Install libelixirfm-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libelixirfm-perl

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

sudo aptitude -y install libelixirfm-perl

How To Uninstall libelixirfm-perl on Ubuntu 18.04

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

sudo apt-get remove libelixirfm-perl

Uninstall libelixirfm-perl And Its Dependencies

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

sudo apt-get -y autoremove libelixirfm-perl

Remove libelixirfm-perl Configurations and Data

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

sudo apt-get -y purge libelixirfm-perl

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

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

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

References

Summary

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