The package I keep forgetting I need to install on a new Ubuntu box is libc6-dev. If you get basic compile errors because stdlib.h cannot be found that will be the one you need.
apt-get install libc6-dev
I should also remember that the subversion package is named subversion not svn. Not that you don’t get told that when you try to run svn before it’s installed!
apt-get install subversion