[[TOC(inline, depth=1)]] = 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 [http://repoforge.org/ 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: ||'''Package'''||'''Works on'''|| ||||Debian 5.x||Debian 6.x||Debian 7.x||Ubuntu 10.04||Ubuntu 10.10||Ubuntu 11.04||Ubuntu 11.10||Ubuntu 12.04|| ||Debian 6.x (Squeeze)||Untested||Yes||Untested||Untested||Untested||Untested||Untested||Untested|| ||Ubuntu 10.04 (Lucid)||Untested||Untested||Untested||Yes||Untested||Yes||Yes||Untested|| ||Ubuntu 12.04 (Precise)||Untested||Untested||Untested||Untested||Untested||Untested||Untested||Yes|| ||AS 1.8.3 (deb)||Untested||Yes||Untested||Untested||Untested||Untested||Untested||Untested|| Compatibility for RPM packages: ||'''Package'''||'''Works on'''|| ||||Fedora 15||Fedora 16||RHEL 6|| ||Fedora 16||Untested||Works||Untested|| ||RHEL 6||Untested||Untested||Works|| ||AS 1.8.3 (RPM)||Untested||Works||Untested|| 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 [wiki:TesterDocumentation#Reportingbugs bug report]. = Using repos.openvpn.net = We have several OpenVPN (OSS) repositories. To use them, blindly follow these instructions: * [http://repos.openvpn.net/repos/apt/conf/repos.openvpn.net-lenny-stable.txt Stable releases for Debian Lenny (5.0)] * [http://repos.openvpn.net/repos/apt/conf/repos.openvpn.net-squeeze-stable.txt Stable releases for Debian Squeeze (6.0)] * [http://repos.openvpn.net/repos/apt/conf/repos.openvpn.net-lucid-stable.txt Stable releases for Ubuntu Lucid Lynx (10.04)] * [http://repos.openvpn.net/repos/apt/conf/repos.openvpn.net-lenny-snapshots.txt Snapshots for Debian Lenny (5.0)] * [http://repos.openvpn.net/repos/apt/conf/repos.openvpn.net-squeeze-snapshots.txt Snapshots for Debian Squeeze (6.0)] * [http://repos.openvpn.net/repos/apt/conf/repos.openvpn.net-lucid-snapshots.txt Snapshots for Ubuntu Lucid Lynx (10.04)] * [http://repos.openvpn.net/repos/apt/conf/repos.openvpn.net-precise-snapshots.txt Snapshots for Ubuntu Precise Pangolin (12.04)] * [http://repos.openvpn.net/repos/yum/conf/repos.openvpn.net-CentOS6-snapshots.txt Snapshots for RHEL/CentOS/Scientific Linux 6.x] * [http://repos.openvpn.net/repos/yum/conf/repos.openvpn.net-Fedora16-snapshots.txt Snapshots for Fedora 16] There are also two [wiki:AccessServer Access Server] repositories: * [http://repos.openvpn.net/repos/apt/conf/repos.openvpn.net-as-stable.txt Stable Access Server releases for Debian-based distributions] * [http://repos.openvpn.net/repos/yum/conf/repos.openvpn.net-as-stable.txt Stable Access Server releases for RPM-based distributions] All available README files are listed at '''!http://repos.openvpn.net/repos//conf/'''. If you're unsure which codename your Debian/Ubuntu -based OS uses, look here: * [http://en.wikipedia.org/wiki/Debian#Release_history Debian codenames] * [http://en.wikipedia.org/wiki/Ubuntu_%28operating_system%29#Releases Ubuntu codenames] = Upgrading from build.openvpn.net = If you started using OpenVPN apt repos between 2.2.0 and 2.2.2 releases, you're probably using the old repository server (build.openvpn.net). Although adding repos.openvpn.net 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, build.openvpn.net 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 }}}