Install subversion on Redhat Enterprise Linux Version 5 from CDROM.

Install subversion on Redhat Enterprise Linux Version 5 from CDROM.

Step 1:

[cmuser@sixconnex-server1 RHEL_5.4 x86_64 DVD]$ cd Server/
[cmuser@sixconnex-server1 Server]$ find . -name "*subversion*"
./subversion-1.4.2-4.el5_3.1.i386.rpm
./subversion-1.4.2-4.el5_3.1.x86_64.rpm
./subversion-devel-1.4.2-4.el5_3.1.i386.rpm
./subversion-devel-1.4.2-4.el5_3.1.x86_64.rpm
./subversion-javahl-1.4.2-4.el5_3.1.x86_64.rpm
./subversion-perl-1.4.2-4.el5_3.1.x86_64.rpm
./subversion-ruby-1.4.2-4.el5_3.1.x86_64.rpm

Step 2: 安装,但提示缺少依赖包

[cmuser@sixconnex-server1 Server]$ rpm -ivh subversion-1.4.2-4.el5_3.1.i386.rpm
warning: subversion-1.4.2-4.el5_3.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
libapr-1.so.0 is needed by subversion-1.4.2-4.el5_3.1.i386
libaprutil-1.so.0 is needed by subversion-1.4.2-4.el5_3.1.i386
libneon.so.25 is needed by subversion-1.4.2-4.el5_3.1.i386

[color=red]Note:
libapr-1.so.0的包属于:apr-1.2.7-11.el5_3.1.i386.rpm
libaprutil-1.so.0的包属于:apr-util-1.2.7-7.el5_3.2.i386.rpm
libneon.so.25的包属于:neon-0.25.5-10.el5.i386.rpm[/color]

Step 3:在CD中搜索相应的缺少包

[cmuser@sixconnex-server1 Server]$ find . -name "*neon*"
./neon-0.25.5-10.el5.i386.rpm
./neon-0.25.5-10.el5.x86_64.rpm
./neon-devel-0.25.5-10.el5.i386.rpm
./neon-devel-0.25.5-10.el5.x86_64.rpm

Step 4:安装neon 包

[cmuser@sixconnex-server1 Server]$ sudo rpm -ivh neon-0.25.5-10.el5.i386.rpm
Password:
warning: neon-0.25.5-10.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:neon ########################################### [100%]

Step 5: 在CD中搜索apr包

[cmuser@sixconnex-server1 Server]$ find . -name "*apr*"
./apr-1.2.7-11.el5_3.1.i386.rpm
./apr-1.2.7-11.el5_3.1.x86_64.rpm
./apr-devel-1.2.7-11.el5_3.1.i386.rpm
./apr-devel-1.2.7-11.el5_3.1.x86_64.rpm
./apr-docs-1.2.7-11.el5_3.1.x86_64.rpm
./apr-util-1.2.7-7.el5_3.2.i386.rpm
./apr-util-1.2.7-7.el5_3.2.x86_64.rpm
./apr-util-devel-1.2.7-7.el5_3.2.i386.rpm
./apr-util-devel-1.2.7-7.el5_3.2.x86_64.rpm
./apr-util-docs-1.2.7-7.el5_3.2.x86_64.rpm
./xorg-x11-drv-dynapro-1.1.0-2.x86_64.rpm

Step 6:安装apr包

[cmuser@sixconnex-server1 Server]$ sudo rpm -ivh apr-util-1.2.7-7.el5_3.2.i386.rpm
warning: apr-util-1.2.7-7.el5_3.2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
libapr-1.so.0 is needed by apr-util-1.2.7-7.el5_3.2.i386
libpq.so.4 is needed by apr-util-1.2.7-7.el5_3.2.i386
libsqlite3.so.0 is needed by apr-util-1.2.7-7.el5_3.2.i386


Note:
libpq.so.4的包属于:postgresql-libs-8.1.11-1.el5_1.1.i386.rpm
libsqlite3.so.0 的包属于:sqlite-3.3.6-5.i386.rpm[/color]

Step 7: 搜索sqlite包

[cmuser@sixconnex-server1 Server]$ find . -name "*sqlite*"
./python-sqlite-1.1.7-1.2.1.x86_64.rpm
./qt4-sqlite-4.2.1-1.x86_64.rpm
./sqlite-3.3.6-5.i386.rpm
./sqlite-3.3.6-5.x86_64.rpm
./sqlite-devel-3.3.6-5.i386.rpm
./sqlite-devel-3.3.6-5.x86_64.rpm

Step 8:安装sqlite包

[cmuser@sixconnex-server1 Server]$ sudo rpm -ivh sqlite-3.3.6-5.i386.rpm
warning: sqlite-3.3.6-5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:sqlite ########################################### [100%]


Step 9:搜索postgresql包

[cmuser@sixconnex-server1 Server]$ find . -name "*postgresql*"
./freeradius-postgresql-1.1.3-1.4.el5.x86_64.rpm
./postgresql-8.1.11-1.el5_1.1.x86_64.rpm
./postgresql-contrib-8.1.11-1.el5_1.1.x86_64.rpm
./postgresql-devel-8.1.11-1.el5_1.1.i386.rpm
./postgresql-devel-8.1.11-1.el5_1.1.x86_64.rpm
./postgresql-docs-8.1.11-1.el5_1.1.x86_64.rpm
./postgresql-jdbc-8.1.407-1jpp.4.x86_64.rpm
./postgresql-libs-8.1.11-1.el5_1.1.i386.rpm
./postgresql-libs-8.1.11-1.el5_1.1.x86_64.rpm
./postgresql-odbc-08.01.0200-3.1.x86_64.rpm
./postgresql-pl-8.1.11-1.el5_1.1.x86_64.rpm
./postgresql-python-8.1.11-1.el5_1.1.x86_64.rpm
./postgresql-server-8.1.11-1.el5_1.1.x86_64.rpm
./postgresql-tcl-8.1.11-1.el5_1.1.x86_64.rpm
./postgresql-test-8.1.11-1.el5_1.1.x86_64.rpm
./qt4-postgresql-4.2.1-1.x86_64.rpm

Step 10:安装postgresql包

[cmuser@sixconnex-server1 Server]$ sudo rpm -ivh postgresql-libs-8.1.11-1.el5_1.1.i386.rpm
warning: postgresql-libs-8.1.11-1.el5_1.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:postgresql-libs ########################################### [100%]

Step 11:安装apr包

[cmuser@sixconnex-server1 Server]$ sudo rpm -ivh apr-1.2.7-11.el5_3.1.i386.rpm
warning: apr-1.2.7-11.el5_3.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:apr ########################################### [100%]

Step 12:安装apr-util包

[cmuser@sixconnex-server1 Server]$ sudo rpm -ivh apr-util-1.2.7-7.el5_3.2.i386.rpm
warning: apr-util-1.2.7-7.el5_3.2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:apr-util ########################################### [100%]

Step 13:安装subversion

[cmuser@sixconnex-server1 Server]$ sudo rpm -ivh subversion-1.4.2-4.el5_3.1.i386.rpm
warning: subversion-1.4.2-4.el5_3.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:subversion ########################################### [100%]

Step 14:测试svn client 是否安装成功

[cmuser@sixconnex-server1 Server]$ svn --version
svn, version 1.4.2 (r22196)
compiled Aug 5 2009, 19:03:56

Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme

你可能感兴趣的:(Linux,subversion,RedHat,Linux,PostgreSQL,SQLite)