ĭata doc mods podman README.md SDLPoP.ini src Now that you have the container image with the required dependencies, use it to compile the game. Localhost/sdlpop-build latest e4f140a64079 49 seconds ago 494 MB Verify that the image was built correctly with podman images: $ podman images Then, save the file and use podman build to build the new image with the name sdlpop-build:latest: $ podman build -t sdlpop-build:latest.
& dnf install -y make gcc SDL2_image-devel.x86_64 \ Create a subdirectory and a Dockerfile like this: $ mkdir -p SDLPoP/podman Next, create a container image with the required tools and dependencies to compile the game. If you don't want to do this, you can still compile the game using containers with Podman.įirst, clone the source repository: $ git clone Installing the modern sysadmin wayĬompiling and installing the game requires downloading and installing many dependencies and compiling tools on your Linux machine. Let's look at an alternative way to compile it. If you want to launch the game from the Applications menu, you can use make install: $ sudo make install Then, download the source code for the game from the Github project: $ git clone įinally, switch to the src directory and compile it: $ cd SDLPoP/src
Let's do that.įirst, install the required dependencies, libraries, and compiling tools: $ sudo dnf install -y git make gcc SDL2_image-devel.x86_64 SDL2.x86_64 However, on Fedora, to play the game, you need to compile it from the source code.
SDLPoP is available in the package repository of some Linux distributions.
Let's start by installing SDLPoP on Fedora. In addition to the classic experience, SDLPoP adds the ability to save and load the game progress, record gameplay, save screenshots, and play "mods" - modified versions of the game.