Difference between revisions of "installing openvpn on redhat using epel repo"

From thelinuxwiki
Jump to: navigation, search
(Created page with " [root@openvpn ~]# '''wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm''' --2014-07-08 15:39:20-- http://download.fedoraproject.org/pub/e...")

Revision as of 19:50, 8 July 2014

[root@openvpn ~]# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
--2014-07-08 15:39:20--  http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Resolving download.fedoraproject.org... 66.135.62.201, 67.203.2.67, 140.211.169.197, ...
Connecting to download.fedoraproject.org|66.135.62.201|:80... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: http://archive.linux.duke.edu/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm [following]
--2014-07-08 15:39:21--  http://archive.linux.duke.edu/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Resolving archive.linux.duke.edu... 152.3.102.53
Connecting to archive.linux.duke.edu|152.3.102.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14540 (14K) [application/x-rpm]
Saving to: `epel-release-6-8.noarch.rpm'   
100%[================================================================================>] 14,540      --.-K/s   in 0.04s   
2014-07-08 15:39:23 (345 KB/s) - `epel-release-6-8.noarch.rpm' saved [14540/14540] 
[root@openvpn ~]# rpm -ivh epel-release-6-8.noarch.rpm 
Preparing...                ########################################### [100%]
  1:epel-release           ########################################### [100%]
[root@openvpn ~]# yum --enablerepo=epel install openvpn
epel/metalink                                                                                      |  14 kB     00:00     
http://mirrors.nebo.edu/public/epel/6/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirrors.nebo.edu/public/epel/6/x86_64/repodata/repomd.xml: (28,    'connect() timed out!' )
Trying other mirror.
epel                                                                                               | 4.4 kB     00:00     
epel/primary_db                                                                                    | 6.2 MB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openvpn.x86_64 0:2.3.2-2.el6 will be installed
--> Processing Dependency: libpkcs11-helper.so.1()(64bit) for package: openvpn-2.3.2-2.el6.x86_64
--> Running transaction check
---> Package pkcs11-helper.x86_64 0:1.07-5.el6 will be installed
--> Finished Dependency Resolution 

Dependencies Resolved ========================================================================================================================== Package Arch Version Repository Size ========================================================================================================================== Installing: openvpn x86_64 2.3.2-2.el6 epel 394 k Installing for dependencies: pkcs11-helper x86_64 1.07-5.el6 epel 51 k
Transaction Summary ========================================================================================================================== Install 2 Package(s) Total download size: 445 k Installed size: 1.0 M Is this ok [y/N]: y Downloading Packages: (1/2): openvpn-2.3.2-2.el6.x86_64.rpm | 394 kB 00:00 (2/2): pkcs11-helper-1.07-5.el6.x86_64.rpm | 51 kB 00:00 -------------------------------------------------------------------------------------------------------------------------- Total 841 kB/s | 445 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: epel-release-6-8.noarch is a duplicate with epel-release-6-5.noarch Installing : pkcs11-helper-1.07-5.el6.x86_64 1/2 Installing : openvpn-2.3.2-2.el6.x86_64 2/2 Verifying  : openvpn-2.3.2-2.el6.x86_64 1/2 Verifying  : pkcs11-helper-1.07-5.el6.x86_64 2/2 Installed: openvpn.x86_64 0:2.3.2-2.el6 Dependency Installed: pkcs11-helper.x86_64 0:1.07-5.el6 Complete!
[root@openvpn ~]# rpm -qa | grep openvpn
openvpn-2.3.2-2.el6.x86_64