How To Install liberis-doc on Ubuntu 18.04

In this tutorial we learn how to install liberis-doc on Ubuntu 18.04. liberis-doc is WorldForge client entity library - API documentation

Introduction

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

What is liberis-doc

liberis-doc 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 API documentation in HTML format.

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

sudo apt-get -y install liberis-doc

Install liberis-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liberis-doc

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

sudo aptitude -y install liberis-doc

How To Uninstall liberis-doc on Ubuntu 18.04

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

sudo apt-get remove liberis-doc

Uninstall liberis-doc And Its Dependencies

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

sudo apt-get -y autoremove liberis-doc

Remove liberis-doc Configurations and Data

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

sudo apt-get -y purge liberis-doc

Remove liberis-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liberis-doc

References

Summary

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