dhewm3 software package provides GPL Doom 3 game engine, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install dhewm3
dhewm3 is installed in your system.
Make ensure the dhewm3 package were installed using the commands given below,
$ sudo dpkg-query -l | grep dhewm3 *
You will get with dhewm3 package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Games |
| Package | dhewm3 |
| Version | 1.4.0+dfsg-1 |
| Description | GPL Doom 3 game engine |
| Sub Section | Games |