How To Install libsimple-http-java on Ubuntu 18.04

In this tutorial we learn how to install libsimple-http-java on Ubuntu 18.04. libsimple-http-java is high-performance, embeddable Java HTTP engine

Introduction

In this tutorial we learn how to install libsimple-http-java on Ubuntu 18.04.

What is libsimple-http-java

libsimple-http-java is:

The goal of Simple is to bring the power of simplicity to the world of server side Java. The primary focus of the project is to provide a truly embeddable Java based HTTP engine capable of handling enormous loads.

Simple provides a truly asynchronous service model, request completion is driven using an internal, transparent, monitoring system. This allows Simple to vastly outperform most popular Java based servers in a multi-tier environment, as it requires only a very limited number of threads to handle very high quantities of concurrent clients.

Simple has consistently out performed both commercial and open source Java Servlet engines and has a fully comprehensive API that is as usable for experienced Java developers as it is for beginners.

There are three methods to install libsimple-http-java 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 libsimple-http-java Using apt-get

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

sudo apt-get update

After updating apt database, We can install libsimple-http-java using apt-get by running the following command:

sudo apt-get -y install libsimple-http-java

Install libsimple-http-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libsimple-http-java using apt by running the following command:

sudo apt -y install libsimple-http-java

Install libsimple-http-java 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 libsimple-http-java using aptitude by running the following command:

sudo aptitude -y install libsimple-http-java

How To Uninstall libsimple-http-java on Ubuntu 18.04

To uninstall only the libsimple-http-java package we can use the following command:

sudo apt-get remove libsimple-http-java

Uninstall libsimple-http-java And Its Dependencies

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

sudo apt-get -y autoremove libsimple-http-java

Remove libsimple-http-java Configurations and Data

To remove libsimple-http-java configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libsimple-http-java

Remove libsimple-http-java configuration, data, and all of its dependencies

We can use the following command to remove libsimple-http-java configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libsimple-http-java

References

Summary

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