System requirements
Pacman is designed for Linux systems running X11 window manager. The game has been developed and tested on Debian Testing, but should work on most Debian-based distributions.Minimum requirements
- Operating System: Linux with X11
- Architecture: i386 or x86_64
- Display: Any resolution (320x200 game resolution will be scaled)
- Audio: ALSA or PulseAudio compatible sound system
- Tools: GCC compiler, Make, xrandr utility
Required dependencies
The game requires several development libraries to compile and run:libsdl1.2-dev
SDL 1.2 development libraries for graphics and window management
libsdl-image1.2-dev
SDL Image library for loading BMP sprites and textures
libglfw3-dev
GLFW library for monitor resolution detection and management
libmikmod-dev
MikMod library for audio and sound effects playback
x11-utils
X11 utilities including xrandr for display configuration
Installation steps
Update package lists
First, ensure your package lists are up to date:This refreshes the package database to ensure you get the latest versions.
Install all dependencies
Install all required libraries in a single command:The installation process will:
- Download approximately 15-20 MB of packages
- Install SDL 1.2 core and image libraries
- Set up GLFW for monitor detection
- Configure MikMod for audio playback
- Install xrandr and other X11 utilities
On Ubuntu-based systems, you may be prompted to confirm the installation. Press
Y to continue.Verify xrandr availability
Confirm that xrandr is properly installed and accessible:You should see output like
/usr/bin/xrandr. If xrandr is not found, the game will display a warning but can still run without automatic resolution restoration.The game checks for xrandr at startup:src/main.c
Platform-specific notes
Debian / Ubuntu
The installation commands above are designed for Debian and Ubuntu systems. These distributions use the APT package manager and have all required libraries in their default repositories.Other distributions
Fedora / RHEL / CentOS
Fedora / RHEL / CentOS
On Red Hat-based distributions, use DNF or YUM:
Arch Linux
Arch Linux
On Arch-based distributions, use Pacman:
openSUSE
openSUSE
On openSUSE, use Zypper:
Verifying installation
After installing dependencies, verify that key libraries are available:Troubleshooting
SDL 1.2 is deprecated, should I use SDL2?
SDL 1.2 is deprecated, should I use SDL2?
This game specifically requires SDL 1.2, not SDL2. While SDL 1.2 is considered legacy, it’s still available in most distribution repositories and works perfectly for this classic-style game. The codebase is not compatible with SDL2 without significant modifications.
xrandr warnings on startup
xrandr warnings on startup
If you see warnings about xrandr not being available:The game will still run, but won’t automatically restore your display configuration on exit. Install x11-utils to enable this feature.
Missing header files during compilation
Missing header files during compilation
If you get compilation errors about missing headers like
SDL.h or GLFW/glfw3.h, ensure you installed the -dev or -devel packages, not just the runtime libraries. Development packages contain the header files needed for compilation.Next steps
With all dependencies installed, you’re ready to compile and run the game:Continue to Quickstart
Learn how to compile the game with Make and start playing