If you're using a non-Debian Linux distribution (such as Fedora, Arch, openSUSE, etc.), you can use Distrobox to create a Debian container and follow the standard setup instructions.
Distrobox is a tool that lets you create and manage containerized Linux environments that integrate seamlessly with your host system. Unlike traditional containers, Distrobox containers share your home directory to allow collaboration with the host system. You can edit the code in your favorite editor and build the project in the container using those same files.
This makes it perfect for development work where you need a specific distribution's tooling.
sudo dnf install distroboxsudo pacman -S distroboxsudo zypper install distroboxCreate a Debian container. It can be named anything but for this example we use sly1-dev:
distrobox create --name sly1-dev --init --image debian:latest --additional-packages "git"This downloads the latest Debian image and creates a new container.
distrobox enter sly1-devThe first time you enter, Distrobox will set up the container environment.
Your terminal prompt should change to indicate you're in the container (typically showing user@sly1-dev). You can further verify with:
cat /etc/os-releaseWhich should show Debian information.
Once inside the container, you can follow the README instructions.
Again, your home directory is shared between the host and container, so you can clone the repository using either.
When you're done working, simply exit the container:
exitOr press Ctrl+D.
Whenever you want to build the project, just enter the container again:
distrobox enter sly1-dev
cd ~/path/to/sly1You can also run commands inside the container without entering it:
distrobox enter sly1-dev -- ./scripts/build.shContainers are automatically stopped when not in use. To manually stop:
distrobox stop sly1-devIf you need to start fresh:
distrobox rm sly1-devThis deletes the container and any packages installed within it. You will need to complete the setup instructions again if you create a new container.
If PCSX2 is installed on the host system via package manager the container will not be able to find it. Either exit the container or install PCSX2 in a way the container can access, such as the container package manager, Flatpak or AppImage.