Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
06-18-2012, 01:31 AM
|
#1
|
Member
Registered: Sep 2011
Posts: 81
Rep: 
|
how to download packages
Hi everyone,
I am new to linux.And at present I am learning Linux .
My problem....when ever I am trying to install a package in my OS...that package is not avaiable in my repos....So Im downloading manually in the browser and trying to install the rpm package Im getting following error...
warning: vsftpd-2.0.5-12.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 82fd17b2: NOKEY
error: Failed dependencies:
/lib/security/pam_loginuid.so is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6 is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.0) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.1) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.1.3) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.2) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.3) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.3.4) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.4) is needed by vsftpd-2.0.5-12.el5.i386
libcap.so.1 is needed by vsftpd-2.0.5-12.el5.i386
libcrypto.so.6 is needed by vsftpd-2.0.5-12.el5.i386
libdl.so.2 is needed by vsftpd-2.0.5-12.el5.i386
libnsl.so.1 is needed by vsftpd-2.0.5-12.el5.i386
libpam.so.0 is needed by vsftpd-2.0.5-12.el5.i386
libpam.so.0(LIBPAM_1.0) is needed by vsftpd-2.0.5-12.el5.i386
libssl.so.6 is needed by vsftpd-2.0.5-12.el5.i386
libwrap.so.0 is needed by vsftpd-2.0.5-12.el5.i386
Im getting Failed dependencies.....I can't download and list those many dependecies for a single package.....So please tell me the any best way to get package and install it.
My system is not registered with RHN......
|
|
|
06-18-2012, 01:36 AM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
If your system is not registered to RHN (which would cost you money) then you shouldn't use RHEL in the first place. Install CentOS instead, it is a free version of RHEL without the branding. It will function in the same way and you will be able to install packages using the yum package manager.
|
|
|
06-18-2012, 01:38 AM
|
#3
|
Member
Registered: Sep 2011
Posts: 81
Original Poster
Rep: 
|
Quote:
Originally Posted by TobiSGD
If your system is not registered to RHN (which would cost you money) then you shouldn't use RHEL in the first place. Install CentOS instead, it is a free version of RHEL without the branding. It will function in the same way and you will be able to install packages using the yum package manager.
|
ooh ok .....So in order to install the Packages in my RHEL 6....I should compulsory resgisted with Redhat Network (RHN)???????????
otherwise I can't install any packages.....which are not in my repos
|
|
|
06-18-2012, 01:43 AM
|
#4
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
You can install any package that is meant for your distribution. Your first problem is that you downloaded the packages for RHEL 5, they won't work on RHEL 6. The second problem is that you also have to download and install all packages that are listed as dependencies for the package you want to install. Normally this would be done by the yum package manager automatically, but since you aren't registered (the cheapest option is 49$/year, IIRC) you have to do it manually. With CentOS you will get this functionality for free.
|
|
|
06-18-2012, 04:37 AM
|
#5
|
Member
Registered: Sep 2011
Posts: 81
Original Poster
Rep: 
|
Quote:
Originally Posted by TobiSGD
You can install any package that is meant for your distribution. Your first problem is that you downloaded the packages for RHEL 5, they won't work on RHEL 6. The second problem is that you also have to download and install all packages that are listed as dependencies for the package you want to install. Normally this would be done by the yum package manager automatically, but since you aren't registered (the cheapest option is 49$/year, IIRC) you have to do it manually. With CentOS you will get this functionality for free.
|
Installed CentOS 6.2 .....After completing reboot......I gave command " yum list all "..........and I got the following output....
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...h=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
|
|
|
06-18-2012, 04:41 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
that's a generic network error. check your DNS settings, default gateway etc. until you can run "ping mirrorlist.centos.org" don't look at anything more complex.
|
|
|
06-18-2012, 04:43 AM
|
#7
|
Member
Registered: Sep 2011
Posts: 81
Original Poster
Rep: 
|
Quote:
Originally Posted by acid_kewpie
that's a generic network error. check your DNS settings, default gateway etc. until you can run "ping mirrorlist.centos.org" don't look at anything more complex.
|
yah I am able to ping it
|
|
|
All times are GMT -5. The time now is 05:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|