How To Install libidl-2-0 on Ubuntu 18.04

In this tutorial we learn how to install libidl-2-0 on Ubuntu 18.04. libidl-2-0 is library for parsing CORBA IDL files

Introduction

In this tutorial we learn how to install libidl-2-0 on Ubuntu 18.04.

What is libidl-2-0

libidl-2-0 is:

libIDL is a small library for creating parse trees of CORBA v2.2 compliant Interface Definition Language (IDL) files, which is a specification for defining interfaces which can be used between different CORBA implementations. libIDL is used in the ORBit2 IDL compiler, as well as various language bindings (Perl, Python, etc.) for ORBit2.

There are three methods to install libidl-2-0 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 libidl-2-0 Using apt-get

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

sudo apt-get update

After updating apt database, We can install libidl-2-0 using apt-get by running the following command:

sudo apt-get -y install libidl-2-0

Install libidl-2-0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libidl-2-0 using apt by running the following command:

sudo apt -y install libidl-2-0

Install libidl-2-0 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 libidl-2-0 using aptitude by running the following command:

sudo aptitude -y install libidl-2-0

How To Uninstall libidl-2-0 on Ubuntu 18.04

To uninstall only the libidl-2-0 package we can use the following command:

sudo apt-get remove libidl-2-0

Uninstall libidl-2-0 And Its Dependencies

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

sudo apt-get -y autoremove libidl-2-0

Remove libidl-2-0 Configurations and Data

To remove libidl-2-0 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libidl-2-0

Remove libidl-2-0 configuration, data, and all of its dependencies

We can use the following command to remove libidl-2-0 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libidl-2-0

References

Summary

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