How To Install libglbsp-dev on Ubuntu 18.04

In this tutorial we learn how to install libglbsp-dev on Ubuntu 18.04. libglbsp-dev is node builder library for OpenGL-based Doom-style games (headers)

Introduction

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

What is libglbsp-dev

libglbsp-dev is:

glBSP is a node builder specially designed to be used with OpenGL ports of the DOOM game engine. It adheres to the “GL-Friendly Nodes” specification, which means it adds some new special nodes to a WAD file that makes it very easy (and fast!) for an OpenGL DOOM engine to compute the polygons needed for drawing the levels.

There are many DOOM ports that understand the GL Nodes which glBSP creates, including EDGE, the Doomsday engine (JDOOM), Doom3D, PrBoom, and Vavoom.

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

sudo apt-get -y install libglbsp-dev

Install libglbsp-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libglbsp-dev

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

sudo aptitude -y install libglbsp-dev

How To Uninstall libglbsp-dev on Ubuntu 18.04

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

sudo apt-get remove libglbsp-dev

Uninstall libglbsp-dev And Its Dependencies

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

sudo apt-get -y autoremove libglbsp-dev

Remove libglbsp-dev Configurations and Data

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

sudo apt-get -y purge libglbsp-dev

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

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

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

References

Summary

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