LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-28-2005, 04:19 AM   #1
wucheng
LQ Newbie
 
Registered: Jun 2005
Posts: 14

Rep: Reputation: 0
Question any software cann't be installed in red hat linux 9.0


2
my host computer 's operare system is windows xp .
and i installed the VMware in my computer .i created a virtual computer and installed the red hat 9.0 operate system .but i can not install any software under red hat OS .even the easiest-installed software ,for instance the RPM software is impossible to be install .i n the termination window ,i use this command "RPM -ivh rpmfilename.rpm",but fail to success .
are there anyone know how to salve this problem ?
 
Old 06-28-2005, 04:31 AM   #2
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-current
Posts: 780

Rep: Reputation: 66
I have no clue about rpm based distributions, but what kind of error message do you get when you try to install an rpm package?
 
Old 06-28-2005, 05:02 AM   #3
wucheng
LQ Newbie
 
Registered: Jun 2005
Posts: 14

Original Poster
Rep: Reputation: 0
for example ,in the examination window ,i input "rpm -ivh xmms-1.2.10-1.src.rpm"
the information is "can not create %sourcedir /usr/src/redhat/SOURCES
do you know what can i do
 
Old 06-28-2005, 06:22 AM   #4
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
its not working because your trying to install a source package

xmms-1.2.10-1.src.rpm <== the src means source

you should get and install a binary one . eg: xmms-1.2.10-1.rpm

or if you want , you could build a binary package from the src package with pkgbuild

Code:
As root, or sudo:
rpmbuild --target i686 --rebuild noname-0.0.1.src.rpm


Go get a cup of coffee. This process may take a while,
 depending on the package. This process involves installing the src package
 to /usr/src/redhat/SOURCES, running configure, and running make.

Look in /usr/src/redhat/RPMS/i686 for the completed binary .rpm package.
 These packages can be installed with:

cd /usr/src/redhat/RPMS/i686
rpm -ivh noname-0.0.1.i686.rpm


or updated with:
cd /usr/src/redhat/RPMS/i686
rpm -Uvh noname-0.0.1.i686.rpm
http://www.tech-recipes.com/linux_tips214.html

Last edited by heema; 06-28-2005 at 06:23 AM.
 
  


Reply


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
it's happened when i install red hat linux 9,which i cann't figure out novmcgrady Linux - Hardware 8 03-28-2005 01:05 PM
Red Hat Linux Software Upgrades darylmaffey Linux - Software 1 01-12-2005 04:23 PM
Windows software replacements for linux red hat fatum Linux - Software 9 10-22-2004 02:50 AM
red hat linux enterprise 3 ws software ronss Red Hat 1 03-20-2004 03:24 PM
need Help just installed Red Hat Linux 9 for the first time today... batsbaseball14 Linux - Hardware 5 08-25-2003 05:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:44 PM.

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