LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-10-2013, 09:44 PM   #1
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Rep: Reputation: Disabled
How do I download/install EPEL?


Hi,

I've been a Window user for years but I'm new to Linux and I'm trying to use the below link to install an OpenVPN. My question is - Do I download it or copy/paste it into the terminal or what do I do?


EPEL : # rpm -Uvh http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm

I tried to download it in terminal and got this.....

[vmware@localhost ~]$ rpm -Uvh http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
curl: (22) The requested URL returned error: 404
error: skipping http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm - transfer failed
[vmware@localhost ~]$

Any advice will be much appreciated, Thanks
 
Old 05-10-2013, 11:00 PM   #2
c0dex
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Rep: Reputation: Disabled
Would this help you a bit more?

http://www.server-world.info/en/note?os=CentOS_6&p=openvpn
 
Old 05-11-2013, 12:20 AM   #3
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by c0dex View Post
I've done some extensive research on Google on this subject and haven't found anything useful but I'll take a look at it. Thanks
 
Old 05-11-2013, 12:38 AM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
It appears you may have the wrong link to the EPEL RPM. The correct link assuming you are running RHEL/CentOS/Scientific Linux 6.x is:

http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm

Note that EPEL is a repository of software for distributions based on Red Had Enterprise Linux (e.g. CentOS). It contains not only packages for OpenVPN, but a wide variety of other software as well.
 
3 members found this post helpful.
Old 05-11-2013, 11:14 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,933

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by btmiller View Post
It appears you may have the wrong link to the EPEL RPM. The correct link assuming you are running RHEL/CentOS/Scientific Linux 6.x is:
http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm

Note that EPEL is a repository of software for distributions based on Red Had Enterprise Linux (e.g. CentOS). It contains not only packages for OpenVPN, but a wide variety of other software as well.
...and I'll add to this by saying you're far better off using the yum command to install packages, especially if you're new to Linux. One package may depend on MANY others....and unless you install them ALL, things won't work right (if at all). It's tiresome to download RPM packages individually and install them one by one, when you can just type "yum install openvpn", and have it work.

Also worthy of note would be: unless you are paying for Red Hat Enterprise, do NOT use it. Use CentOS instead, which is 99.x% IDENTICAL to RHEL, but free. That's important, since if you don't pay for RHEL, you WILL NOT be able to use online repositories, since you're not registered. There are several guides on how to set up additional repositories for CentOS...a very easy process:
http://wiki.centos.org/AdditionalRes...ories/RPMForge
http://www.centos.org/docs/5/html/yu...ositories.html
Quote:
Originally Posted by TheCorporation
I've done some extensive research on Google on this subject and haven't found anything useful but I'll take a look at it
Really?? Putting "how to install openvpn on centos 6" pulls up LOTS of very detailed, easy-to-follow information:
http://safesrv.net/install-openvpn-on-centos/
 
2 members found this post helpful.
Old 05-11-2013, 12:23 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by TB0ne View Post
...and I'll add to this by saying you're far better off using the yum command to install packages, especially if you're new to Linux. One package may depend on MANY others....and unless you install them ALL, things won't work right (if at all). It's tiresome to download RPM packages individually and install them one by one, when you can just type "yum install openvpn", and have it work.
This is generally good advice, however, one of the problems with RHEL is that they don't have very many packages installed by default (much fewer than Debian or Ubuntu, say). The EPEL repositoty adds many additional packages, including OpenVPN (I am assuming that because OpenVPN is in EPEL, it's not in the standard repos, though I have not checked this). In this particular case, since the epel package just adds the new repository to the yum configuration and therefore has no dependencies that wouldn't be present on any install, simply rpm'ing it is safe. In general, however, TB0ne is of course correct and I should have mentioned that.

One other note regarding yum, it is possible to use it to install RPM files one has downloaded, using "yum localinstall <filename>.rpm". This is cool because, just like installing a package from a repository, yum will attempt to satisft all dependencies.
 
1 members found this post helpful.
Old 05-15-2013, 03:58 AM   #7
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
...and I'll add to this by saying you're far better off using the yum command to install packages, especially if you're new to Linux. One package may depend on MANY others....and unless you install them ALL, things won't work right (if at all). It's tiresome to download RPM packages individually and install them one by one, when you can just type "yum install openvpn", and have it work.

Also worthy of note would be: unless you are paying for Red Hat Enterprise, do NOT use it. Use CentOS instead, which is 99.x% IDENTICAL to RHEL, but free. That's important, since if you don't pay for RHEL, you WILL NOT be able to use online repositories, since you're not registered. There are several guides on how to set up additional repositories for CentOS...a very easy process:
http://wiki.centos.org/AdditionalRes...ories/RPMForge
http://www.centos.org/docs/5/html/yu...ositories.html

Really?? Putting "how to install openvpn on centos 6" pulls up LOTS of very detailed, easy-to-follow information:
http://safesrv.net/install-openvpn-on-centos/
I gave "safesrv.net/install-openvpn-on-centos" a try a couple of times in the past and it failed. I tried it again and got this....

[root@localhost vmware]# rpm -Uvh lzo-*.rpm
warning: lzo-1.08-4.rf.src.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
1:lzo warning: user dag does not exist - using root
warning: group dag does not exist - using root
warning: user dag does not exist - using root
warning: group dag does not exist - using root
########################################### [100%]
[root@localhost vmware]#
 
Old 05-15-2013, 04:04 AM   #8
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by btmiller View Post
It appears you may have the wrong link to the EPEL RPM. The correct link assuming you are running RHEL/CentOS/Scientific Linux 6.x is:

http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm

Note that EPEL is a repository of software for distributions based on Red Had Enterprise Linux (e.g. CentOS). It contains not only packages for OpenVPN, but a wide variety of other software as well.

I tried to download it in terminal and got this.....

[vmware@localhost ~]$ rpm -Uvh http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
curl: (22) The requested URL returned error: 404
error: skipping http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm - transfer failed
[vmware@localhost ~]$


I have an OpenVPN running on my host computer (Windows 7) and CentOS in VMware Player. The VPN goes over the top of VM but I assume this will not interfere with the download process?
 
Old 05-15-2013, 04:57 AM   #9
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
[root@localhost vmware]# rpm -Uvh lzo-*.rpm
warning: lzo-1.08-4.rf.src.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
1:lzo warning: user dag does not exist - using root
warning: group dag does not exist - using root
warning: user dag does not exist - using root
warning: group dag does not exist - using root
########################################### [100%]
[root@localhost vmware]#
this just gave you warning because by default dag group and user are not there on your system. So, by default it is using root user and group. And the package has been installed successfully.
 
1 members found this post helpful.
Old 05-15-2013, 04:59 AM   #10
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
[vmware@localhost ~]$ rpm -Uvh http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
curl: (22) The requested URL returned error: 404
error: skipping http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm - transfer failed
If you see the error it says code no. 404.
It means the url you are requesting is not found and if you open this link it will give you this error-
Quote:
Not Found

The requested URL /pub/epel...6-8.noarch.rpm was not found on this server.
 
1 members found this post helpful.
Old 05-15-2013, 05:12 AM   #11
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by Satyaveer Arya View Post
If you see the error it says code no. 404.
It means the url you are requesting is not found and if you open this link it will give you this error-
Thank you for the advice, I will try that "http://safesrv.net/install-openvpn-on-centos/" again.
 
Old 05-15-2013, 08:53 AM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Code:
 lzo-1.08-4.rf.src.rpm
that's a 'src' rpm; don't even bother trying to install it. you just want the regular rpm (and in any case, don't use rpm cmd, use yum for dependencies)
 
1 members found this post helpful.
Old 05-15-2013, 10:14 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,933

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by TheCorporation View Post
I gave "safesrv.net/install-openvpn-on-centos" a try a couple of times in the past and it failed. I tried it again and got this....

[root@localhost vmware]# rpm -Uvh lzo-*.rpm
warning: lzo-1.08-4.rf.src.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
1:lzo warning: user dag does not exist - using root
warning: group dag does not exist - using root
warning: user dag does not exist - using root
warning: group dag does not exist - using root
########################################### [100%]
[root@localhost vmware]#
Again, you really should NOT be installing with the rpm command. Use yum to install packages, and it will resolve dependencies for you.
 
1 members found this post helpful.
Old 05-15-2013, 10:36 AM   #14
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,166
Blog Entries: 10

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
http://www.rackspace.com/knowledge_c...entos-5x-or-6x
http://gembuls.wordpress.com/2011/02...ory-on-centos/

http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

Last edited by Habitual; 05-15-2013 at 10:40 AM.
 
1 members found this post helpful.
Old 05-18-2013, 07:27 PM   #15
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Thanks guys but I've given up on CentOS now, I think two months of trying to do this is enough time spent.

I'm going to see if it is possible to install an OpenVPN in Ubuntu.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install phpMyAdmin on Linux Centos 6.2 without EPEL repo rewards Linux - Software 6 03-21-2012 04:51 PM
Epel 6 jokar.mohsen Linux - Software 1 03-10-2012 03:47 AM
EPEL REPO - Problem agriz Linux - Server 2 12-01-2011 05:59 AM
EPEL jokar.mohsen Linux - Software 1 04-26-2011 07:32 AM
epel repo centos 5.4 fernfrancis Linux - Newbie 12 10-02-2010 06:36 PM


All times are GMT -5. The time now is 09:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration