How To Install yamagi-quake2-core on Ubuntu 18.04

In this tutorial we learn how to install yamagi-quake2-core on Ubuntu 18.04. yamagi-quake2-core is enhanced version of id Softwares Quake II - non-GUI part

Introduction

In this tutorial we learn how to install yamagi-quake2-core on Ubuntu 18.04.

What is yamagi-quake2-core

yamagi-quake2-core is:

This is the Yamagi Quake II Server, an enhanced Version of id Software’s Quake II. This code is based upon Icculus Quake II, which itself is built upon id Software’s original code drop. Additional code and patches by many contributors were used.

This package contains files common to the client and the server, and a dedicated server engine is intended to be used via the wrapper script and init scripts in the quake2-server package.

There are three methods to install yamagi-quake2-core 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 yamagi-quake2-core Using apt-get

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

sudo apt-get update

After updating apt database, We can install yamagi-quake2-core using apt-get by running the following command:

sudo apt-get -y install yamagi-quake2-core

Install yamagi-quake2-core Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install yamagi-quake2-core using apt by running the following command:

sudo apt -y install yamagi-quake2-core

Install yamagi-quake2-core 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 yamagi-quake2-core using aptitude by running the following command:

sudo aptitude -y install yamagi-quake2-core

How To Uninstall yamagi-quake2-core on Ubuntu 18.04

To uninstall only the yamagi-quake2-core package we can use the following command:

sudo apt-get remove yamagi-quake2-core

Uninstall yamagi-quake2-core And Its Dependencies

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

sudo apt-get -y autoremove yamagi-quake2-core

Remove yamagi-quake2-core Configurations and Data

To remove yamagi-quake2-core configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge yamagi-quake2-core

Remove yamagi-quake2-core configuration, data, and all of its dependencies

We can use the following command to remove yamagi-quake2-core configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge yamagi-quake2-core

References

Summary

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