Version 4 (modified by Samuli Seppänen, 6 years ago) (diff)



Latest OpenVPN releases are also available in the project's apt repositories. This allow you to use more up-to-date version of OpenVPN than what's typically available in your distribution's repositories.

Please note that all commands listed below have to be run as root, e.g. using sudo or su.

Snapshots and stable releases

The s.c. "stable" packages built from official releases are only available for Debian/Ubuntu?. This is so for two reasons:

  • Official Debian/Ubuntu? repositories tend to have fairly old OpenVPN versions available
  • There are fairly up-to-date versions of OpenVPN releases available in places such as RepoForge (previously RPMForge)

Snapshots are available for all platforms to facilitate use of the latest OpenVPN features. New versions are built on a weekly/bi-weekly basis in a semi-automated fashion.

For Access Server, only release ("stable") packages are available.


All Linux packages are available in i386 and amd64/x86_64 flavours. Even if a package is built on a particular OS, it does not mean it won't work on older and/or newer versions of the same distro, or even on a different operating system. Compatibility for Debian packages:

PackageWorks on
Debian 5.xDebian 6.xDebian 7.xUbuntu 10.04Ubuntu 10.10Ubuntu 11.04Ubuntu 11.10Ubuntu 12.04
Debian 6.x (Squeeze)UntestedYesUntestedUntestedUntestedUntestedUntestedUntested
Ubuntu 10.04 (Lucid)UntestedUntestedUntestedYesUntestedYesYesUntested
Ubuntu 12.04 (Precise)UntestedUntestedUntestedUntestedUntestedUntestedUntestedYes
AS 1.8.3 (deb)UntestedYesUntestedUntestedUntestedUntestedUntestedUntested

Compatibility for RPM packages:

PackageWorks on
Fedora 15Fedora 16RHEL 6
Fedora 16UntestedWorksUntested
RHEL 6UntestedUntestedWorks
AS 1.8.3 (RPM)UntestedWorksUntested

If you've tested the packages yourself on an OS marked as "Untested", please change the appropriate cell to say "Yes" or "No", depending on whether the package worked or not. If you encountered any issues with the package, please file a new bug report.


We have several OpenVPN (OSS) repositories. To use them, blindly follow these instructions:

There are also two Access Server repositories:

All available README files are listed at<apt|yum>/conf/. If you're unsure which codename your Debian/Ubuntu? -based OS uses, look here:

Upgrading from

If you started using OpenVPN apt repos between 2.2.0 and 2.2.2 releases, you're probably using the old repository server ( Although adding repo file on top of that won't cause any issues, you may want to speed up apt by removing any sources.list fragments associated with it:

$ rm -f /etc/apt/sources.list.d/openvpn-lenny.list
$ rm -f /etc/apt/sources.list.d/openvpn-lucid.list

Also, repos may be taken offline later, which means apt will start complaining sooner or later.

Installing OpenVPN

On Debian, use

$ apt-get update && apt-get install openvpn

On RedHat/Fedora use

$ yum install openvpn