Tuesday, February 18, 2014

How to Configure Yum in Redhat 5?

www.unixbabuforum.inI have installed Redhat 5 and I try to install wget using yum command but it show like this 

[root@localhost ~]# yum install wget 
Loaded plugins: downloadonly, list-data, protect-packages, protectbase, 
: rhnplugin, security 
This system is not registered with RHN. 
RHN support will be disabled. 
Setting up Install Process 
Nothing to do


www.unixbabuforum.inFor registering your server execute "rhn_register" command and follow the instruction...
Or if you don't want to pay for license to REDHAT, Use CentOS instead of Redhat! 

www.unixbabuforum.inInstall original source code from www.gnu.org/software/wget/ 

Then configure and make, then install it. 

www.unixbabuforum.inIt is not important, if you did not register to RHN 

www.unixbabuforum.inYou can either install wget from source,or register your redhat using following instructions : 

http://www.google.com/url?sa=t&rct=j&q=&am p;esrc=s&source=web&cd=7&cad=rja&ve d=0CEwQFjAG&url=http%3A%2F%2Ftech.its.iastate.e du%2Flinux%2Flinuxed%2FInstalling%2FStepByStep5.pdf& amp;ei=rnHvUuiGJobVtAa374HQDw&usg=AFQjCNF9XY9X htyam791LJsRD_heCq22mg&bvm=bv.60444564,d.Yms 

www.unixbabuforum.inIt seems there is no yum repoenabled in your server. Install Epel and Remi 
repo. Follow the commands to install the same, 

rpm -Uvh 
http://dl.fedoraproject.org/pub/epel/5/x86_64/epel -release-5-4.noarch.rpm 
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm 

Once the repos are enabled you can install wget. 

f you want to configure local yum repo, steps in the following URL will 
help you, 

http://linuxczar.com/private-yum-repository-creation/

www.unixbabuforum.inAfter you enable Epel and Remi. You can install wget via yum, 

yum clean all 
yum list wget (or) yum list all 
yum install wget





1 comments:

Ganesh Ponna said...

Hi Buddy,


I genuinely do look forward for the time where you post some new write ups. Your blog make me feel so educated! Continue soaring and writing please.

I just became a member of the Linux Foundation, payed my fees, got my @linux.com email etc... And then I realize that the email is just a vanity email, that I can't actually REPLY from @linux.com... Is that right?
But great job man, do keep posted with the new updates.

Thank you,
Ganesh

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM