Quick installation of SDL for Linux
Note: Most Linux distributions now have SDL included in them,
so it's worth checking to see if SDL is already installed.
RPM systems
-
First go to
http://www.libsdl.org and enter
the Downloads section for version 1.2 (which should
be the latest stable version - get the latest revision).
-
Download the 'i386' RPM from the Runtime Libraries section.
-
Login as root and install the library with the following command -
change the filename to match the one downloaded.
rpm -i SDL-1.2.10-1.i386.rpm
Debian systems
-
First go to
http://www.libsdl.org and enter
the Downloads section for version 1.2 (which is the
stable version).
-
Follow the link to the Debian packages site.
-
Download the package - e.g. libsdl1.2debian - from one of
the Debian mirrors.
-
Login as root and install the library.