SFML:
sudo apt-get install libsfml-dev
N.B.: There will likely be a whole bunch of dependencies to install as well: just ask chatgpt which dependencies are pointed to by which error messages; it's not worth pouring through pages of documentation to unpick.
Also, I don't know how much of this works on wayland lmao.