Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-09-2006, 04:47 PM   #1
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142

Rep: Reputation: 16
can't install yum

i just installed linux on one of my machines, i downloaded yum...src.rpm and used the install commands that come with it:

["$RPM_BUILD_ROOT" != "/"] && rm -rf $RPM_BUILD_ROOT
# install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/yum.conf
# install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/yum.cron

and i still dont have yum in my machine

i have tried the rpm cmd:

rpm -iv yum-2.6.0-1.src.rpm

but i get an error msg:
cannot write to %sourcedir /usr/src/redhat/SOURCE

currently on my /etc there are two folders with the word yum on them but collectively they have 7 files total

which other command do i need to run to install yum any assistance willbe greatly appreciated.
Old 04-09-2006, 04:54 PM   #2
Registered: Dec 2003
Location: Central New York
Distribution: RH/Fedora/SUSE
Posts: 64

Rep: Reputation: 15
i have tried the rpm cmd:
rpm -iv yum-2.6.0-1.src.rpm
First of all, you didn't say which Linux distro you're running. But if the version of Yum you've found is compatible with that distro, and it is a distro that uses RPM (like Fedora, Mandrake, SUSE, or another of the RPM distros) then your command was fine, but you were using a .src.rpm (source rpm) file. Look for the same file, probably where you got that one from, and get one that ends with a .rpm, preceded by your system's architecture (probably ix86).


Jim Dishaw

Doh! I just read in your information that you're running FC4. Yum should be included in FC4. It may need to have the repositories configured though. Type the command:
which yum
and you should see it in /usr/bin/yum

Follow these directions to configure yum and other things in your distro:

Sorry I didn't catch that earlier.


Last edited by dishawjp; 04-09-2006 at 04:59 PM.
Old 04-12-2006, 01:03 PM   #3
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142

Original Poster
Rep: Reputation: 16
thanks dishwjp i didnt know it came with yum, let me get my hands dirty and see what i can do with yum.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
Yum Install LinuxNewKnight Linux - Software 2 04-10-2006 12:29 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM
yum install ackerleytng Linux - Software 4 11-08-2005 04:21 AM
using yum to install rpms - how? dingo_aus Linux - Software 9 07-01-2004 08:50 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration