How To Install fp-units-castle-game-engine on Ubuntu 20.04
Introduction
In this tutorial we learn how to install fp-units-castle-game-engine
on Ubuntu 20.04.
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 and the auxiliary tools castle-curves, castle-engine, image-to-pascal, sprite-sheet-to-x3d, and texture-font-to-pascal.
This package suggests the gradle package. Gradle is only necessary if one wants to build Android applications, otherwise one can ignore that suggestion. Note that, in order to create Android applications, one will also need the Android SDK and NDK, and FPC cross-compiler, see https://github.com/castle-engine/castle-engine/wiki/Android.
There are three methods to install fp-units-castle-game-engine
on Ubuntu 20.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 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 Ubuntu. 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 Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install fp-units-castle-game-engine
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.