How To Install libaws-bin on Ubuntu 18.04

In this tutorial we learn how to install libaws-bin on Ubuntu 18.04. libaws-bin is Ada Web Server utilities

Introduction

In this tutorial we learn how to install libaws-bin on Ubuntu 18.04.

What is libaws-bin

libaws-bin is:

AWS is a complete framework to develop Web based applications. The main part of the framework is the embedded Web server. This small yet powerful Web server can be embedded into your application so your application will be able to talk with a Web browser. Around this Web server a lot of services have been developed.

This package contains utility programs to help develop web applications with AWS:

awsres transforms any text or binary file into an Ada unit which you can compile into your application, thereby making your application completely independent of any external files (think: embedded)

ada2wsdl, an ASIS program, reads Ada unit specifications and creates descriptions in the Web Service Description Language, so that you can advertise your web service application to the world.

wsdl2aws does the opposite job: it creates an Ada unit (spec and skeleton body) conforming to a specified description in WSDL.

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

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

sudo apt-get update

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

sudo apt-get -y install libaws-bin

Install libaws-bin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libaws-bin

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

sudo aptitude -y install libaws-bin

How To Uninstall libaws-bin on Ubuntu 18.04

To uninstall only the libaws-bin package we can use the following command:

sudo apt-get remove libaws-bin

Uninstall libaws-bin And Its Dependencies

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

sudo apt-get -y autoremove libaws-bin

Remove libaws-bin Configurations and Data

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

sudo apt-get -y purge libaws-bin

Remove libaws-bin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libaws-bin

References

Summary

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