How To Install libxs-dev on Ubuntu 18.04

In this tutorial we learn how to install libxs-dev on Ubuntu 18.04. libxs-dev is Crossroads I/O lightweight messaging layer (development files)

Introduction

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

What is libxs-dev

libxs-dev is:

Crossroads I/O (“libxs”) is a library for building scalable and high performance distributed applications. It fits between classic BSD sockets, JMS/AMQP-style message queues, and enterprise message-oriented middleware.

Crossroads I/O extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products, providing an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols, and more.

This package contains the libxs development library, header file, and man pages.

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

sudo apt-get -y install libxs-dev

Install libxs-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libxs-dev

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

sudo aptitude -y install libxs-dev

How To Uninstall libxs-dev on Ubuntu 18.04

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

sudo apt-get remove libxs-dev

Uninstall libxs-dev And Its Dependencies

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

sudo apt-get -y autoremove libxs-dev

Remove libxs-dev Configurations and Data

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

sudo apt-get -y purge libxs-dev

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

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

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

References

Summary

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