Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a centos 5 x86 vps and I want to install openvpn in the easiest and fastest way possible. So I decided to use a repo. The rpmforge repo has openvpn.

As you can see, that link shows that there are many versions of openvpn available in the repo. If I just type 'yum install openvpn' how do I know it will install the newest version available in the repo? Should I instead do something like:

yum install openvpn-2.1.4-2.el5.rf.i386.rpm
share|improve this question

You'll need to do two things to use the RPMForge repository. You'll need to install the rpmforge-release package so the rpmforge repository will be available to yum:

rpm -ivh

Further instructions for enabling RPMForge are available here:

Then you can simply:

yum install openvpn

The newest version available at RPMForge will be installed, along with dependencies. Choosing the newest available version is inherent in the "yum install" operation.

share|improve this answer

First, install the repo:

rpm --import
rpm -K rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rpm -i rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rm rpmforge-release-0.5.2-2.el5.rf.i386.rpm
yum update

Then you can install the latest version of OpenVPN with this command:

yum install openvpn

If you need any additional help to set up your VPN try reading this handy guide.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.