How To Install libpolyorb4-dev on Ubuntu 18.04

In this tutorial we learn how to install libpolyorb4-dev on Ubuntu 18.04. libpolyorb4-dev is Multiple-personality middleware for Ada (development)

Introduction

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

What is libpolyorb4-dev

libpolyorb4-dev is:

PolyORB provides a uniform solution to build distributed applications; relying either on industrial-strength middleware standards such as CORBA, the Distributed System Annex of Ada 95, distribution programming paradigms such as Web Services, Message Oriented Middleware (MOM), or to implement application-specific middleware.

This package provides the development files and utilities necessary to develop distributed applications using PolyORB.

Distributed applications will also require the polyorb-servers package but not necessarily on the same machine.

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

sudo apt-get -y install libpolyorb4-dev

Install libpolyorb4-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpolyorb4-dev

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

sudo aptitude -y install libpolyorb4-dev

How To Uninstall libpolyorb4-dev on Ubuntu 18.04

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

sudo apt-get remove libpolyorb4-dev

Uninstall libpolyorb4-dev And Its Dependencies

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

sudo apt-get -y autoremove libpolyorb4-dev

Remove libpolyorb4-dev Configurations and Data

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

sudo apt-get -y purge libpolyorb4-dev

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

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

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

References

Summary

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