git clone https://github.com/libsdl-org/SDL cd SDL mkdir build cd build ../configure make sudo make install