Question

no easy-rsa to install on my debian

  • Posted on February 7, 2015
  • elearnAsked by elearn

I want to install openvpn on my debian according to the web material : https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04

root@change:~# apt-get install openvpn easy-rsa Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package easy-rsa

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

To get a proper response to questions like these you really need to specify what Debian version you are running. For the purpose of this answer I’m going to assuming that you are running Debian Wheezy, which is the current Stable version.

Debian Wheezy comes with OpenVPN 2.2, where easy-rsa is distributed together with main OpenVPN program. On your Debian system you ought to find easy-rsa under the path /usr/share/doc/openvpn/examples/easy-rsa/.

As of OpenVPN 2.3 easy-rsa is treated as its own program, which is why Ubuntu 14.04 has it as a separate package.

Bonus answer: In case you want OpenVPN 2.3 for your Debian Wheezy you can get it from Debian Backports. One good reason to prefer OpenVPN 2.3 is that it comes with much better IPv6 support.

In Debian 8, install easy-rsa by apt-get install easy-rsa. After this, the easy-rsa directory found in: /usr/share/easy-rsa

or find using: find / -name build-ca

download the easy-rsa pacakge manually using wget

wget http://security.ubuntu.com/u```code```buntu/pool/universe/e/easy-rsa/easy-rsa_2.2.2-1_all.deb

run it !

sudo dpkg -i easy-rsa_2.2.2-1_all.deb