how to setup yum in centos5?
how to stup yum in centos5
|
help me! how to setup step by step yum in centos5
|
Hi,
Usually yum is installed by default . Try these to find out if you is installed on you box : Code:
yum --version |
Welcome to LQ.
The most yum commands has to done with : 1) su <enter password> 2) yum <option> <option> The most used yum commands : Find a package name : yum search <name> ( or part of name ). The same, searching for several packages : yum search <name> <name> <name> <name> <name> Installing one or more packages : yum install <package> yum install <package> <package> <package> <package> <package> Finding which package to install, to get a certain file : yum provides */<file name> The yum manual : Just type 'man yum'. Or read on-line http://linux.die.net/man/8/yum .. |
? did you even read the centOS wiki?
or the centOS forum ? there are links ON THE CENT WEB PAGE you HAD TO HAVE seen them when you downloaded centos 5.5 !!!! read them ! http://wiki.centos.org/ http://wiki.centos.org/AdditionalResources/Repositories --forum-- http://centos.org/modules/newbb/index.php?cat=8 |
yum examples from RedHat
https://access.redhat.com/kb/docs/DOC-2531 As above, yum is part of the basic install, so it'll already be there. Really you need to be root via 'su -' or 'sudo ..' to run it. If you've installed the GUI, it's what is called in the background by the Add/Remove programs menu option. |
My question is how to create repo in centos5.4 & what is the steps or file to edit?
I copy all dvd (centos5.4) in /var/ftp/pub & I want to create repo. |
centOS 5.4 is UNSUPPORTED
there are no rpms for a repo the dvd is is't own repo but seeing as 5.4 is not supported any longer install 5.5 then in a month or 3 install 5.6 when it comes out |
remove all the files on your /etc/yum.repo.d/ directory and then create a new file with the extension .repo. The contents of the file must look like
[local] name=local repo baseurl=file:///var/ftp/pub/ enable=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 and run the command yum clean all |
coolsreejith
but for centos 5.4 there IS NOTHING to install there are NO centos5.4 rpms - other than on the OLD dvd and the dvd is out of date |
All times are GMT -5. The time now is 09:53 AM. |