How To Install libcleri-dev on Ubuntu 18.04

In this tutorial we learn how to install libcleri-dev on Ubuntu 18.04. libcleri-dev is language parser library - development files

Introduction

In this tutorial we learn how to install libcleri-dev on Ubuntu 18.04.

What is libcleri-dev

libcleri-dev is:

Libcleri is a powerful tool to build languages. From a built language, libcleri can automatically create parse trees, which are data structures representing how a grammar matches input. It also provides feedback in case the input does not match the language. This can be useful for auto-completion, suggestions or error handling.

This package contains the development files.

There are three methods to install libcleri-dev 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 libcleri-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libcleri-dev

Install libcleri-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcleri-dev

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

sudo aptitude -y install libcleri-dev

How To Uninstall libcleri-dev on Ubuntu 18.04

To uninstall only the libcleri-dev package we can use the following command:

sudo apt-get remove libcleri-dev

Uninstall libcleri-dev And Its Dependencies

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

sudo apt-get -y autoremove libcleri-dev

Remove libcleri-dev Configurations and Data

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

sudo apt-get -y purge libcleri-dev

Remove libcleri-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcleri-dev

References

Summary

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