Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been a Window user for years but I'm new to Linux and I'm trying to use the below link to install an OpenVPN. My question is - Do I download it or copy/paste it into the terminal or what do I do?
Note that EPEL is a repository of software for distributions based on Red Had Enterprise Linux (e.g. CentOS). It contains not only packages for OpenVPN, but a wide variety of other software as well.
Note that EPEL is a repository of software for distributions based on Red Had Enterprise Linux (e.g. CentOS). It contains not only packages for OpenVPN, but a wide variety of other software as well.
...and I'll add to this by saying you're far better off using the yum command to install packages, especially if you're new to Linux. One package may depend on MANY others....and unless you install them ALL, things won't work right (if at all). It's tiresome to download RPM packages individually and install them one by one, when you can just type "yum install openvpn", and have it work.
Also worthy of note would be: unless you are paying for Red Hat Enterprise, do NOT use it. Use CentOS instead, which is 99.x% IDENTICAL to RHEL, but free. That's important, since if you don't pay for RHEL, you WILL NOT be able to use online repositories, since you're not registered. There are several guides on how to set up additional repositories for CentOS...a very easy process: http://wiki.centos.org/AdditionalRes...ories/RPMForge http://www.centos.org/docs/5/html/yu...ositories.html
Quote:
Originally Posted by TheCorporation
I've done some extensive research on Google on this subject and haven't found anything useful but I'll take a look at it
...and I'll add to this by saying you're far better off using the yum command to install packages, especially if you're new to Linux. One package may depend on MANY others....and unless you install them ALL, things won't work right (if at all). It's tiresome to download RPM packages individually and install them one by one, when you can just type "yum install openvpn", and have it work.
This is generally good advice, however, one of the problems with RHEL is that they don't have very many packages installed by default (much fewer than Debian or Ubuntu, say). The EPEL repositoty adds many additional packages, including OpenVPN (I am assuming that because OpenVPN is in EPEL, it's not in the standard repos, though I have not checked this). In this particular case, since the epel package just adds the new repository to the yum configuration and therefore has no dependencies that wouldn't be present on any install, simply rpm'ing it is safe. In general, however, TB0ne is of course correct and I should have mentioned that.
One other note regarding yum, it is possible to use it to install RPM files one has downloaded, using "yum localinstall <filename>.rpm". This is cool because, just like installing a package from a repository, yum will attempt to satisft all dependencies.
...and I'll add to this by saying you're far better off using the yum command to install packages, especially if you're new to Linux. One package may depend on MANY others....and unless you install them ALL, things won't work right (if at all). It's tiresome to download RPM packages individually and install them one by one, when you can just type "yum install openvpn", and have it work.
Also worthy of note would be: unless you are paying for Red Hat Enterprise, do NOT use it. Use CentOS instead, which is 99.x% IDENTICAL to RHEL, but free. That's important, since if you don't pay for RHEL, you WILL NOT be able to use online repositories, since you're not registered. There are several guides on how to set up additional repositories for CentOS...a very easy process: http://wiki.centos.org/AdditionalRes...ories/RPMForge http://www.centos.org/docs/5/html/yu...ositories.html
I gave "safesrv.net/install-openvpn-on-centos" a try a couple of times in the past and it failed. I tried it again and got this....
[root@localhost vmware]# rpm -Uvh lzo-*.rpm
warning: lzo-1.08-4.rf.src.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
1:lzo warning: user dag does not exist - using root
warning: group dag does not exist - using root
warning: user dag does not exist - using root
warning: group dag does not exist - using root
########################################### [100%]
[root@localhost vmware]#
Note that EPEL is a repository of software for distributions based on Red Had Enterprise Linux (e.g. CentOS). It contains not only packages for OpenVPN, but a wide variety of other software as well.
I tried to download it in terminal and got this.....
I have an OpenVPN running on my host computer (Windows 7) and CentOS in VMware Player. The VPN goes over the top of VM but I assume this will not interfere with the download process?
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
Rep:
Quote:
[root@localhost vmware]# rpm -Uvh lzo-*.rpm
warning: lzo-1.08-4.rf.src.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
1:lzo warning: user dag does not exist - using root
warning: group dag does not exist - using root
warning: user dag does not exist - using root
warning: group dag does not exist - using root
########################################### [100%]
[root@localhost vmware]#
this just gave you warning because by default dag group and user are not there on your system. So, by default it is using root user and group. And the package has been installed successfully.
that's a 'src' rpm; don't even bother trying to install it. you just want the regular rpm (and in any case, don't use rpm cmd, use yum for dependencies)
I gave "safesrv.net/install-openvpn-on-centos" a try a couple of times in the past and it failed. I tried it again and got this....
[root@localhost vmware]# rpm -Uvh lzo-*.rpm
warning: lzo-1.08-4.rf.src.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
1:lzo warning: user dag does not exist - using root
warning: group dag does not exist - using root
warning: user dag does not exist - using root
warning: group dag does not exist - using root
########################################### [100%]
[root@localhost vmware]#
Again, you really should NOT be installing with the rpm command. Use yum to install packages, and it will resolve dependencies for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.