How To Install omniidl-python on Ubuntu 18.04

In this tutorial we learn how to install omniidl-python on Ubuntu 18.04. omniidl-python is omniidl backend to compile Python stubs from IDL files

Introduction

In this tutorial we learn how to install omniidl-python on Ubuntu 18.04.

What is omniidl-python

omniidl-python is:

omniORB4 is a freely available Common Object Request Broker Architecture (CORBA) 2.6 compliant object request broker (ORB) implementation. It is based on the IIOP communications protocol and should be interoperable with any other CORBA 2.6 compliant ORB.

This includes the Python backend for omniidl to compile IDL to Python stubs.

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

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

sudo apt-get update

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

sudo apt-get -y install omniidl-python

Install omniidl-python Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install omniidl-python

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

sudo aptitude -y install omniidl-python

How To Uninstall omniidl-python on Ubuntu 18.04

To uninstall only the omniidl-python package we can use the following command:

sudo apt-get remove omniidl-python

Uninstall omniidl-python And Its Dependencies

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

sudo apt-get -y autoremove omniidl-python

Remove omniidl-python Configurations and Data

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

sudo apt-get -y purge omniidl-python

Remove omniidl-python configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge omniidl-python

References

Summary

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