How To Install liberis-1.3-dev on Ubuntu 18.04

In this tutorial we learn how to install liberis-1.3-dev on Ubuntu 18.04. liberis-1.3-dev is WorldForge client entity library - development files

Introduction

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

What is liberis-1.3-dev

liberis-1.3-dev is:

Eris is designed to simplify client development (and avoid repeating the same work several times), by providing a common system to deal with the back end tasks. Notably, Eris encapsulates most of the work in getting Atlas entities available on your client, logging into a server, and managing updates from the server. Thus it can be considered as a session layer above Atlas, providing persistent (for the session) objects as opposed to Atlas ones (which are transient). It handles the client-side implementation of the meta-server protocol, and querying game servers; out-of-game (OOG) operations (via the Lobby and Rooms), and most important in-game (IG) operations such as entity creation, movement and updates.

Eris provides a generic ‘Entity’ class, which you are free to sub-class and provide to the system (by registering a factory with the World); thus you are free to create different classes to handle characters, walls, vehicles, etc as your client dictates. An alternative approach is to simply create peer classes, and connect them to Eris via callbacks. Eris makes extensive use of libSigC++, which must be correctly installed and functioning on your system. Familiarity with signal/slot programming concepts is essential for using Eris; the libSigC++ home-page has some examples. Gtk+ or QT signal systems also provide a good introduction.

This package contains the development files for compiling software depending on Eris.

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

sudo apt-get -y install liberis-1.3-dev

Install liberis-1.3-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liberis-1.3-dev

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

sudo aptitude -y install liberis-1.3-dev

How To Uninstall liberis-1.3-dev on Ubuntu 18.04

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

sudo apt-get remove liberis-1.3-dev

Uninstall liberis-1.3-dev And Its Dependencies

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

sudo apt-get -y autoremove liberis-1.3-dev

Remove liberis-1.3-dev Configurations and Data

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

sudo apt-get -y purge liberis-1.3-dev

Remove liberis-1.3-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liberis-1.3-dev

References

Summary

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