How To Install clanlib-doc on Ubuntu 18.04

In this tutorial we learn how to install clanlib-doc on Ubuntu 18.04. clanlib-doc is Reference documentation and tutorials for ClanLib

Introduction

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

What is clanlib-doc

clanlib-doc is:

ClanLib delivers a platform independent interface to write games with. If a game is written with ClanLib, it should be possible to compile the game under any platform (supported by ClanLib, that is) without changing the application source code.

But ClanLib is not just a wrapper library, providing a common interface to low-level libraries such as DirectFB, DirectX, OpenGL, X11, etc. While platform independence is ClanLib’s primary goal, it also tries to be a service-minded game SDK. In other words, great effort has been put into designing the API, to ensure ClanLib’s ease of use - while maintaining its power.

This package contains html documentation for the ClanLib API and some tutorials to ease the learning curve for programming with it.

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

sudo apt-get -y install clanlib-doc

Install clanlib-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install clanlib-doc

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

sudo aptitude -y install clanlib-doc

How To Uninstall clanlib-doc on Ubuntu 18.04

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

sudo apt-get remove clanlib-doc

Uninstall clanlib-doc And Its Dependencies

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

sudo apt-get -y autoremove clanlib-doc

Remove clanlib-doc Configurations and Data

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

sudo apt-get -y purge clanlib-doc

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

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

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

References

Summary

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