Lazy Foo' Productions

Setting up SDL in Linux

Last Updated 6/14/11

Since there are so many flavors of Linux these tutorials might not work on your Linux set up.
Try reading the SDL Linux FAQ.
If you've tried everything and are still having problems, contact me
and I'll try to add on a distro specific fix.

1)
For Ubuntu users, it's recommended that you use the built in package manager. You can access the package manager
going to system -> administration -> Synaptic Package Manager. Once you're in, search for "libsdl1.2-dev"
(without quotes), which is the SDL development package. Once you find it, click and install it.

2)
For those of you who have Advanced Packaging Tool available you can enter the command: