I cant install SDL3 on my system(Linux mint). i tried this commands from SDL3 wiki but did’t work: sudo apt-get install libsdl3-3.0-0 sudo apt-get install libsdl3-dev
Errors:
~ took 2m11s
❯ sudo apt-get install libsdl3-dev
[sudo] password for ozu:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package libsdl3-dev
❯ sudo apt-get install libsdl3-3.0-0
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package libsdl3-3.0-0
E: Couldn’t find any package by glob ‘libsdl3-3.0-0’
E: Couldn’t find any package by regex ‘libsdl3-3.0-0’
SDL3 isn’t officially released yet. You’ll need to download the code from github, install all dependencies and run the command mention in the INSTALL file.
How comfortable are you with linux? Stick to sdl2 for now if you’re not comfortable
I have to say, SDL3 is one of the few packages that can be built almost without any problems right away.
It has almost no dependencies. With GLIB, GTK, etc., things are a lot worse, and I sometimes fail there too.
I think SDL3 is now officially released but is still not in the Linux Mint package repositories. On the other hand it is part of the Ubuntu 25.04 Plucky Puffin repositories:
Can anyone help to push it into the Linux Mint repositories?
Thanks Mathias for the hint. I have added the plucky repository to my additional repositories in Linux Mint. I am just moving my GUI library Geeonx from SDL2 to SDL3. I myself have build and installed SDL3 from the sources. But for me it is important that Linux Mint users who want to install the Geeonx deb package will receive all necessary dependencies during the installation process with the package manager.
I am not quite sure how that can be realized, as long as the SDL3 deb package is not in the Linux Mint repositories. Any idea?