Linux mint - Can't install SDL3

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’

How can i install SDL3 properly in linux mint?

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.

1 Like

I cant install SDL3 on my system(Linux mint). i tried this commands from SDL3 wiki but did’t work:

If you press [Tab] after sudo apt-get install libsdl, you will notice that this does not exist (yet).

How comfortable are you with linux? Stick to sdl2 for now if you’re not comfortable

1 Like

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 was thinking not knowing how environments work and forgetting what LD_LIBRARY_PATH is called, may cause issues.