Installing Subversion on Fedora Core 3

Album Cover: No Code

"Are you woman enough to be my man?"
Pearl Jam / Hail Hail

Posted on March 15, 2005 7:06 PM in Computers
Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

The following is a concise run-through of the steps I took to get Subversion installed, running, and viewable/fetchable (via Apache2) on Fedora Core 3:

  1. Installed Subversion: yum install subversion
  2. Installed mod_dav_svn: yum install mod_dav_svn
  3. Created a new repository according to the Subversion Book
  4. Created a new project according to the Subversion Book
  5. Added the basic Location directive outlined in the Basic Apache Configuration section of the Subversion Book (I skipped the LoadModule step because it was taken care of when mod_dav_svn was installed)
  6. Made sure the ServerName entry was correct in httpd.conf
  7. Restarted Apache2: sudo /etc/init.d/httpd restart
  8. Updated permissions on my new SVN repository: sudo chown -R apache /path/to/repository
  9. Viewed the contents of my repository by pointing Firefox at http://localhost/svn (replace /svn with whatever you use in your Location directive)

And there you have it. Subversion up and running on Fedora Core 3. If you get stuck along the way, the Subversion Book is an excellent resource containing just about all the information you need to get up and running.


a wilhelm on April 27, 2005 at 8:55 AM:

This worked very well.. I would love to see and equally simple addendum detailing a trac install on Fedora. Thanks!


Coop on June 16, 2005 at 9:01 PM:

Hrm. When I did this, I got a "could not open the requested svn filesystem" message. I did both a chown and chgrp to apache on the directory tree, but no dice. Been at this for hours now. Apparently SELinux really gums things up. If this did not work for you, check your SELinux settings and look to open up the httpd daemon.


elvis on August 25, 2005 at 3:01 AM:

I followed every step and svn is successfully installed.Now i created my repository:/home/elvis/svn, and tried to configure apache2,i added this:
LoadModule dav_module modules/
LoadModule dav_svn_module modules/, and restarted apache2 then i got this warning:
module dav_svn_module is already loaded, skipping, cool - it make sense, i removed it!

Now i went to the Location directory and do this:
<Location /svn>
DAV svn
SVNPath /home/elvis/svn
</Location> , i even tried this

<Location /repos>
DAV svn
SVNPath /home/elvis/svn

svn: PROPFIND request failed on '/home/elvis/svn'
svn: PROPFIND of '/home/elvis/svn': 405 Method Not Allowed...


Sandeep A.S on December 07, 2005 at 11:24 PM:

It worked fine.
Thanks for this document.



SuperSub on January 02, 2006 at 2:57 AM:

This helped me:

yum install mod_dav_svn

Looked everywhere for this - and found it here.



tenebro on March 25, 2006 at 3:03 PM:

Great document, works fine for me.

Thanks a lot.


Andrew Bruno on June 23, 2006 at 3:52 AM:

I received the following error :(

[root@lala ~]# svnadmin create /data/svnrepos
svn: Berkeley DB error while creating environment for filesystem /data/svnrepos/
Invalid argument
svn: bdb: Berkeley DB library configured to support only DB_PRIVATE environments

Any ideas?


Andrew Bruno on June 23, 2006 at 4:53 AM:

Also, it looks like I am running

%> ldd `which svn` | grep libdb => /lib/ (0xf7d64000)


tim on November 28, 2007 at 7:33 PM:

hi, quick question - how long would you estimate it should take to install subversion on a fedora server?



jack on January 07, 2008 at 8:51 PM:

very well written document. Although I am having the following problem: I seem to always get
svn: Can't create directory '/path/to/repos/db/transactions/0-1.txn': Permission denied

I have apache:apache ownership for all files in teh repos also I have disabled all restrictions in the svnserve.conf file, i.e. anon=write

Any ideas?


Cold Fusion Assignment Help on December 31, 2017 at 8:48 PM:

only professional writers can make this kind of material, cheers


CS Project Help on December 31, 2017 at 9:02 PM:

This was a great and interesting article to read. I have really enjoyed all of this very cool information


Post Comments

If you feel like commenting on the above item, use the form below. Your email address will be used for personal contact reasons only, and will not be shown on this website.


Email Address:



Check this box if you hate spam.