wiki:OpenvpnAptRepos

Version 23 (modified by Samuli Seppänen, 12 years ago) (diff)

--

Introduction

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.

Compatibility

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.10
Debian 5.x (Lenny)YesUntestedUntestedUntestedUntestedUntestedUntested
Debian 6.x (Squeeze)UntestedYesUntestedUntestedUntestedUntestedUntested
Ubuntu 10.04 (Lucid)UntestedUntestedUntestedYesUntestedYesYes
AS 1.8.3 (deb)UntestedYesUntestedUntestedUntestedUntestedUntested

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.

Using repos.openvpn.net

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 http://repos.openvpn.net/repos/<apt|yum>/conf/. If you're unsure which codename your Debian/Ubuntu? -based OS uses, look here:

Installing OpenVPN

On Debian, use

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

On RedHat/Fedora use

$ yum install openvpn