How To Install libclanlib-dev on Ubuntu 18.04

In this tutorial we learn how to install libclanlib-dev on Ubuntu 18.04. libclanlib-dev is ClanLib game SDK development files

Introduction

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

What is libclanlib-dev

libclanlib-dev is:

ClanLib is a multi-platform software development kit, with an emphasis on game development.

On one side, it tries to provide a platform independent interface to write games with, by taking over the low-level work from the game and providing wrappers around toolkits such as DirectFB, DirectX, OpenGL, Vorbis, X11, etc., so that if a game is written with ClanLib, the game should compile on any platform supported by ClanLib without changing its source code.

On the other hand, ClanLib also tries to be a service-minded SDK. In other words, the developers have put great effort into designing the API, to ensure ClanLib’s ease of use - while maintaining its power.

This is the development part of the ClanLib SDK, which is needed to build applications with it.

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

sudo apt-get -y install libclanlib-dev

Install libclanlib-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libclanlib-dev

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

sudo aptitude -y install libclanlib-dev

How To Uninstall libclanlib-dev on Ubuntu 18.04

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

sudo apt-get remove libclanlib-dev

Uninstall libclanlib-dev And Its Dependencies

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

sudo apt-get -y autoremove libclanlib-dev

Remove libclanlib-dev Configurations and Data

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

sudo apt-get -y purge libclanlib-dev

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

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

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

References

Summary

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