How To Install quake2 on Fedora 34
Introduction
In this tutorial we learn how to install quake2
on Fedora 34.
What is quake2
This package contains the enhanced GPL YamagiQuake2 version of the Quake 2 engine. To run the game you will need the original data files from demo or full versions. Full version setup Copy the baseq2 folder contents from the CD-ROM/Steam to ~/.yq2/baseq2/ (or to use the data files system-wide copy the data files to /usr/lib64/games/quake2/baseq2/) Enjoy the full version. Demo version setup Get the demo from http and extract it. It’s just an ordinary, self-extract ZIP file. An archiver or even the unzip command can be used. copy the extracted folder contents /Install/Data/baseq2/* to ~/.yq2/baseq2/ (or to use the data files system-wide copy the data files to /usr/lib64/games/quake2/baseq2/) Enjoy the demo version. Not patched full version setup If your full version of quake 2 isn’t patched you need to do some more steps Please note that the patch is required for all full versions of the game, even the newer ones like Steam. Without it Yamagi Quake II will not work! Download the patch http Extract the patch into an empty directory. The patch is just an ordinary self-extracting ZIP file. On Windows it can be extracted by double clicking on it, on other systems an archiver or even the unzip command can be used. Now it’s time to remove the following files from the extracted patch. They’re the original executables, documentation and so on. They aren’t needed anymore 3.20_Changes.txt quake2.exe ref_gl.dll ref_soft.dll baseq2/gamex86.dll baseq2/maps.lst ctf/ctf2.ico ctf/gamex86.dll ctf/readme.txt ctf/server.cfg xatrix/gamex86.dll rogue/gamex86.dll Copy the pak0.pak file and the video/ sub-directory from your Quake II distribution (CD, Steam download, etc) into the baseq2/ sub-directory of the extracted patch.
We can use yum
or dnf
to install quake2
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install quake2.
Install quake2 on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install quake2
using dnf
by running the following command:
sudo dnf -y install quake2
Install quake2 on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install quake2
using yum
by running the following command:
sudo yum -y install quake2
How To Uninstall quake2 on Fedora 34
To uninstall only the quake2
package we can use the following command:
sudo dnf remove quake2
quake2 Package Contents on Fedora 34
/usr/bin/q2ded
/usr/bin/quake2
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/1740a3334db1c474221cc35d837b7837aa43f9
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/c6a600025e22a5ebec862ef94c717bf90794ce
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/07b693ecd08e38d497cd72fdc8f48419cd1094
/usr/lib64/games/quake2
/usr/lib64/games/quake2/baseq2
/usr/lib64/games/quake2/baseq2/game.so
/usr/lib64/games/quake2/baseq2/yq2.cfg
/usr/share/applications/quake2.desktop
/usr/share/doc/quake2
/usr/share/doc/quake2/CHANGELOG
/usr/share/doc/quake2/CONTRIBUTE
/usr/share/doc/quake2/README.md
/usr/share/doc/quake2/examples
/usr/share/doc/quake2/examples/cdripper.sh
/usr/share/icons/hicolor/512x512/apps/quake2.png
/usr/share/licenses/quake2
/usr/share/licenses/quake2/LICENSE
References
Summary
In this tutorial we learn how to install quake2
on Fedora 34 using yum and dnf.