Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to use SSH to update PHP and I'm getting the message "Yum not Detected."

Is "Yum" something I need to enable or install?

Following advice I got in a previous question, I typed this into SSH:

cat /etc/*-release 

And it displayed this:

Fedora Core release 6 (Zod)
Fedora Core release 6 (Zod)

Should Yum work on my server? If yes, how can I get it to work?

Thanks in advance,

John

share|improve this question
    
Who did you piss off to get stuck maintaining a FC6 machine? –  Ignacio Vazquez-Abrams Jan 13 '11 at 10:47
    
LOL... is it bad? I just bought it from Network Solutions. –  John Jan 13 '11 at 10:51
1  
I just checked the Network Solutions Homepage. They have a money back guarantee for the first 30 days. Get your money back. Fedora Core 6 IS that bad because the operating system will celebrate its fifth birthday this year (current release is 14). Packages are quite outdated and you are stuck with no support. –  pacey Jan 13 '11 at 12:50
    
I completely agree with pacey. FC6 has been officially unsupported since November 2007, they were downright negligent to hand it out. –  Scott Pack Jan 26 '11 at 1:30

2 Answers 2

Try rpm -q yum to discover if yum package is installed.

share|improve this answer
    
thanks... when I did that it says "package yum is not installed"... is it possible for me to install it? –  John Jan 13 '11 at 9:49

Use this as a template

http://godaddyvds.wikispaces.com/installing+yum

That is for fedora 4.. So you just use that as a guide for which packages to install

For 6 it will be

http://archive.kernel.org/fedora-archive/core/6/i386/os/Fedora/RPMS/ for 32 bit
http://archive.kernel.org/fedora-archive/core/6/x86_64/os/Fedora/RPMS/ for 64 bit

EDIT

Ok for example.. the first file is

python-elementtree-1.2.6-4.i386.rpm 

So if its a 32 bit version.. I go to the 32bit URL and find the python-elementtree file which is

http://archive.kernel.org/fedora-archive/core/6/i386/os/Fedora/RPMS/python-elementtree-1.2.6-5.i386.rpm

Use that URL in place of the one in the example.

Hope it helps

share|improve this answer
    
Thanks... so do I just look for the equivalents of the 6 URLs shown in the godaddyvds wiki and paste them all into SSH? –  John Jan 13 '11 at 10:48
    
I made an edit on what to look for and replace it with –  Mike Jan 13 '11 at 11:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.