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
://subversion.tigris.org/downloads/subversion-1.6.11.tar.gz
tar -zxvf subversion-1.6.11.tar.gz
cd subversion
-1.6.11
http
://www.webdav.org/neon/neon-0.29.0.tar.gz
tar -zxvf neon-0.29.0.tar.gz
mv neon
-0.29.0 neon
wget http
://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz
tar -zxvf sqlite-amalgamation-3.6.13.tar.gz
mkdir sqlite
-amalgamation
mv sqlite
-3.6.13/sqlite3.c sqlite-amalgamation
./configure
make
make install
cp 
/usr/lib64/httpd/modules/mod_dav_svn.so /usr/local/apache/modules/mod_dav_svn.so
cp 
/usr/lib64/httpd/modules/mod_authz_svn.so /usr/local/apache/modules/mod_authz_svn.so 
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/mod_dav_svn.so
LoadModule authz_svn_module   modules
/mod_authz_svn.so 
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.