How to install Installing SVN on Linux


Here  is how to install SVN(subversion) on linux machine with  Red Hat 6. You only need to check your yum repo configuration with "yum" command. If you already configure your yum server you don't need to check these steps.

Step 1:Insert an ISO  image to your server then mount it under a directory.

#mkdir /yumrepo
#mount  /dev/cdrom /yumrepo

Step 2:Configure yum repo.

#vi /etc/yum.repos.d/server.repo 

# cat /etc/yum.repos.d/server.repo
[dvd-source]
name=RHEL 6.5 dvd repo
baseurl=file:/yumrepo/
enabled=1
gpgcheck=0

Step 3:List all repo

# yum repolist
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id repo name status
dvd-source RHEL 6.5 dvd repo 3,690
repolist: 3,690

Step 4:Install  SVN and Mod_dav

# yum install  subversion
# yum install mod_dav_svn

Command  outputs:

# yum install subversion
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package subversion.x86_64 0:1.6.11-9.el6_4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-9.el6_4.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-9.el6_4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-9.el6_4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-9.el6_4.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-5.el6_2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package neon.x86_64 0:0.29.3-3.el6_4 will be installed
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-3.el6_4.x86_64
--> Running transaction check
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================
Package Arch Version Repository Size
==================================================================================================================
Installing:
subversion x86_64 1.6.11-9.el6_4 dvd-source 2.3 M
Installing for dependencies:
apr x86_64 1.3.9-5.el6_2 dvd-source 123 k
apr-util x86_64 1.3.9-3.el6_0.1 dvd-source 87 k
neon x86_64 0.29.3-3.el6_4 dvd-source 119 k
pakchois x86_64 0.4-3.2.el6 dvd-source 21 k

Transaction Summary
==================================================================================================================
Install 5 Package(s)

Total download size: 2.6 M
Installed size: 12 M
Is this ok [y/N]: y
Downloading Packages:
------------------------------------------------------------------------------------------------------------------
Total 21 MB/s | 2.6 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : apr-1.3.9-5.el6_2.x86_64 1/5
Installing : apr-util-1.3.9-3.el6_0.1.x86_64 2/5
Installing : pakchois-0.4-3.2.el6.x86_64 3/5
Installing : neon-0.29.3-3.el6_4.x86_64 4/5
Installing : subversion-1.6.11-9.el6_4.x86_64 5/5
Verifying : neon-0.29.3-3.el6_4.x86_64 1/5
Verifying : pakchois-0.4-3.2.el6.x86_64 2/5
Verifying : apr-util-1.3.9-3.el6_0.1.x86_64 3/5
Verifying : subversion-1.6.11-9.el6_4.x86_64 4/5
Verifying : apr-1.3.9-5.el6_2.x86_64 5/5

Installed:
subversion.x86_64 0:1.6.11-9.el6_4

Dependency Installed:
apr.x86_64 0:1.3.9-5.el6_2 apr-util.x86_64 0:1.3.9-3.el6_0.1 neon.x86_64 0:0.29.3-3.el6_4
pakchois.x86_64 0:0.4-3.2.el6

 

# yum install mod_dav_svn
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mod_dav_svn.x86_64 0:1.6.11-9.el6_4 will be installed
--> Processing Dependency: httpd-mmn = 20051115 for package: mod_dav_svn-1.6.11-9.el6_4.x86_64
--> Running transaction check
---> Package httpd.x86_64 0:2.2.15-29.el6_4 will be installed
--> Processing Dependency: httpd-tools = 2.2.15-29.el6_4 for package: httpd-2.2.15-29.el6_4.x86_64
--> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-29.el6_4.x86_64
--> Running transaction check
---> Package apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package httpd-tools.x86_64 0:2.2.15-29.el6_4 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================
Package Arch Version Repository Size
==================================================================================================================
Installing:
mod_dav_svn x86_64 1.6.11-9.el6_4 dvd-source 79 k
Installing for dependencies:
apr-util-ldap x86_64 1.3.9-3.el6_0.1 dvd-source 15 k
httpd x86_64 2.2.15-29.el6_4 dvd-source 821 k
httpd-tools x86_64 2.2.15-29.el6_4 dvd-source 73 k

Transaction Summary
==================================================================================================================
Install 4 Package(s)

Total download size: 988 k
Installed size: 3.2 M
Is this ok [y/N]: y
Downloading Packages:
------------------------------------------------------------------------------------------------------------------
Total 16 MB/s | 988 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : httpd-tools-2.2.15-29.el6_4.x86_64 1/4
Installing : apr-util-ldap-1.3.9-3.el6_0.1.x86_64 2/4
Installing : httpd-2.2.15-29.el6_4.x86_64 3/4
Installing : mod_dav_svn-1.6.11-9.el6_4.x86_64 4/4
Verifying : httpd-2.2.15-29.el6_4.x86_64 1/4
Verifying : mod_dav_svn-1.6.11-9.el6_4.x86_64 2/4
Verifying : apr-util-ldap-1.3.9-3.el6_0.1.x86_64 3/4
Verifying : httpd-tools-2.2.15-29.el6_4.x86_64 4/4

Installed:
mod_dav_svn.x86_64 0:1.6.11-9.el6_4

Dependency Installed:
apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 httpd.x86_64 0:2.2.15-29.el6_4 httpd-tools.x86_64 0:2.2.15-29.el6_4

Complete!

 

 

I'm a IT Infrastructure and Operations Architect with extensive experience and administration skills and works for Turk Telekom. I provide hardware and software support for the IT Infrastructure and Operations tasks.

205 Total Posts
Follow Me

Related Post