= 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. You need to run these commands as root, e.g. using ''sudo'' or ''su''. = Importing the GPG key = OpenVPN's .deb packages and repository files are signed with GPG. Therefore, you need to import proper public key or you get errors when updating software catalogs (e.g. with ''apt-get update''): {{{ $ wget -O - http://build.openvpn.net/packages/apt/conf/openvpn-apt.gpg.key|apt-key add - }}} This step is the same regardless of the OS or OS release. = Adding repository files = == Debian Lenny (5.x) == {{{ $ cd /etc/apt/sources.list.d $ wget http://build.openvpn.net/packages/apt/conf/openvpn-lenny.list }}} == Ubuntu Lucid Lynx (10.04) == {{{ $ cd /etc/apt/sources.list.d $ wget http://build.openvpn.net/packages/apt/conf/openvpn-lucid.list }}} = Installing OpenVPN = In most cases, you can just do {{{ $ apt-get update && apt-get install openvpn }}}