Attempting to install openvpn-2.4.6
OK, so now I am trying to install openvpn with windscribe on my CF-29 which has a frugal installation of Xenialpup 7.5. After downloading and installing opvenvpn in the root I am getting "bash : openvpn : command not found, when I type: openvpn --config Windscribe-US-East.ovpn. Please advise. Thanks in advance for your help. Scott
- Attachments
-
- openvpn.png
- (66.9 KiB) Downloaded 67 times
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Here is a screen shot of the result when use the make command.OscarTalks wrote:If you get command not found when trying to run openvpn it means you have not successfully installed it.
- Attachments
-
- result of make command.png
- (147.83 KiB) Downloaded 112 times
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Here are screen shots showing the results from ./configure and make install. Thanks, ScottOscarTalks wrote:What happened when you followed that up with make install?
- Attachments
-
- make install.png
- (162.26 KiB) Downloaded 59 times
-
- Configure2.png
- (134.93 KiB) Downloaded 63 times
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
As previously mentioned, you need to add the --prefix=/usr argument to ./configure
Enter ./configure --prefix=/usr
Followed by make
Followed by make install
Failure to add the --prefix=/usr argument will result in the openvpn executable being installed in /usr/local/sbin instead of /usr/sbin
/usr/local/sbin is not in your executable PATH locations so it will not be found
/usr/sbin on the other hand is in your executable PATH (the group of locations where executable binaries are found).
Enter ./configure --prefix=/usr
Followed by make
Followed by make install
Failure to add the --prefix=/usr argument will result in the openvpn executable being installed in /usr/local/sbin instead of /usr/sbin
/usr/local/sbin is not in your executable PATH locations so it will not be found
/usr/sbin on the other hand is in your executable PATH (the group of locations where executable binaries are found).
Oscar in England
OscarTalks wrote:As previously mentioned, you need to add the --prefix=/usr argument to ./configure
Enter ./configure --prefix=/usr
Followed by make
Followed by make install
Ok, I did this but when I ran make and make install I got the same result. I realize that I've been jumping all over the place. Is there somewhere that explains the process of installing and configuring openvpn, step by step, from downloading, unzipping, installing and configuring the deb package, to ovpn --configure Windscribe-US-East.ovpn? Right now I'm flipping around through several threads. Thanks, Scott
Failure to add the --prefix=/usr argument will result in the openvpn executable being installed in /usr/local/sbin instead of /usr/sbin
/usr/local/sbin is not in your executable PATH locations so it will not be found
/usr/sbin on the other hand is in your executable PATH (the group of locations where executable binaries are found).
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Sounds like you have succeeded in doing all this at least once before and are just having problems repeating the process.Scott99 wrote: Is there somewhere that explains the process of installing and configuring openvpn, step by step, from downloading, unzipping, installing and configuring the deb package, to ovpn --configure Windscribe-US-East.ovpn?
I think it would be easier for people to guide you on individual steps you are getting stuck on.
In Puppy, rule of thumb is to use ./configure --prefix=/usr
If you discover you have inadvertently forgotten to add --prefix=/usr and therefore installed everything under /usr/local/
Uninstall the files which are in the wrong place by entering make uninstall in terminal which must be open inside the extracted source directory (same as when you configured and installed).
Then enter make clean
Then enter make distclean
This restores everything in the source directory back to how it was when first extracted..
Now repeat the steps
./configure --prefix=/usr
make
make install
Oscar in England