How To Install fp-units-castle-game-engine on Debian 9

In this tutorial we learn how to install fp-units-castle-game-engine on Debian 9. fp-units-castle-game-engine is Castle Game Engine - 3D game engine for FreePascal / Lazarus

Introduction

In this tutorial we learn how to install fp-units-castle-game-engine on Debian 9.

What is fp-units-castle-game-engine

fp-units-castle-game-engine is:

Castle Game Engine is a set of LGPL licenced libraries that are intended to ease developing 3D games with FreePascal / Lazarus.

It provides an excellent support for the VRML / X3D 3D data format. Other 3D formats are also supported.

It features many advanced graphic effects and easy to use API on top of OpenGL.

This package contains the FPC units.

There are three methods to install fp-units-castle-game-engine on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install fp-units-castle-game-engine Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install fp-units-castle-game-engine using apt-get by running the following command:

sudo apt-get -y install fp-units-castle-game-engine

Install fp-units-castle-game-engine Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fp-units-castle-game-engine using apt by running the following command:

sudo apt -y install fp-units-castle-game-engine

Install fp-units-castle-game-engine 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install fp-units-castle-game-engine using aptitude by running the following command:

sudo aptitude -y install fp-units-castle-game-engine

How To Uninstall fp-units-castle-game-engine on Debian 9

To uninstall only the fp-units-castle-game-engine package we can use the following command:

sudo apt-get remove fp-units-castle-game-engine

Uninstall fp-units-castle-game-engine And Its Dependencies

To uninstall fp-units-castle-game-engine and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove fp-units-castle-game-engine

Remove fp-units-castle-game-engine Configurations and Data

To remove fp-units-castle-game-engine configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge fp-units-castle-game-engine

Remove fp-units-castle-game-engine configuration, data, and all of its dependencies

We can use the following command to remove fp-units-castle-game-engine configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fp-units-castle-game-engine

Dependencies

fp-units-castle-game-engine have the following dependencies:

References

Summary

In this tutorial we learn how to install fp-units-castle-game-engine package on Debian 9 using different package management tools: apt, apt-get and aptitude.