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...... |
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.
|
Quote:
otherwise I can't install any packages.....which are not in my repos |
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.
|
Quote:
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 |
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.
|
Quote:
|
All times are GMT -5. The time now is 09:11 PM. |