How to install Subversion on cPanel 11.42.x and higher

Deprecated thought: Either it's really old, or not used anymore. You can probably ignore it.

Update: How to install Subversion on cPanel 11.50.x and higher

Appears there's lots of people trying to figure out how to install subversion onto a cPanel box. There's lots of posts that show some sort of version but none seem to work anymore. Well, this one works, tried, tested and true.

Subversion client comes pre-installed on cPanel, but it buried into a cPanel folder. Subversion server does not come pre-installed. So, let's get started:

cd /usr/local/src
wget http
tar -zxvf subversion-1.6.11.tar.gz
cd subversion
tar -zxvf neon-0.29.0.tar.gz
mv neon
-0.29.0 neon
wget http
tar -zxvf sqlite-amalgamation-3.6.13.tar.gz
mkdir sqlite
mv sqlite
-3.6.13/sqlite3.c sqlite-amalgamation
make install
/usr/lib64/httpd/modules/ /usr/local/apache/modules/
/usr/lib64/httpd/modules/ /usr/local/apache/modules/ 
Next, in cPanel go to Home » Service Configuration » Apache Configuration » Include Editor and choose Pre Main Include » All Versions. Paste this into the textarea:
LoadModule dav_svn_module     modules/
LoadModule authz_svn_module   modules
Then click on the big blue Update button. You shouldn't have any errors if everything was done right. Now rebuild Apache and set up your config files for SVN access.