LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-27-2005, 11:21 PM   #1
Airhead315
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
Question Common Problem with all RPM installs


I recently decided to start using linux on a second partition just for the fun of it. So far things havnt been too complicated. However im running into a problem which has me stumped. I run into a roadblock everytime I have to manually use the terminal to install an rpm. Basically I invoke the rpm with the following command:
rpm -Uvh <filename>.rpm

It does its thing, complains if anythings missing...once I resolve the missing dependencies I do it again and it acts normally, gives a 100% status but it never seems to be successful. For instance, if I try to invoke the rpm using the "Install Packages" feature of Fedora 4 it tells me that source package rpms cannot be installed this way...Makes sense. But when I use the command line like the one above, it appears to work fine, but if I try to load anothr rpm(thats not a src rpm) using the "Install Packages" feature, it still says that it cannot find the needed dependancy. The world would be a much simpler place if all programs had an install rpm :-P As you can see Im new to all this, the basic question I guess is how do you install source rpms correctly? I
 
Old 09-27-2005, 11:41 PM   #2
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
If you're using Fedora use yum to install stuff - it resolves the depedencies for you. See here: http://www.fedorafaq.org/#getsoftware

Quote:
As you can see Im new to all this, the basic question I guess is how do you install source rpms correctly? I
Generally you'd do rpm -i for a source RPM but rpm -Uvh will also work fine. Your source RPMs will be in /usr/src/redhat (or /usr/src/RPM) if you installed them as root or ~/rpm if you installed them as your user. Have a look at the rpmbuild command (man rpmbuild) to see how to build a source RPM. Generally though its just rpmbuild -ba my.src.rpm. Mandriva has a good RPM Howto (http://qa.mandriva.com/twiki/bin/view/Main/RpmHowTo) which should get you started with packaging software, if that's what you want to do. If you're just interested in installing stuff then see above about yum.
 
Old 09-28-2005, 12:15 AM   #3
Airhead315
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Quick question about yum. I followed that tutorial and successfully installed xmms mp3 player which leads to two questions:

1.) I used the "yum list available" command and it threw out a huge list of all the available installs, this is great, but I can only see the last 60 or so in the terminal window...is there a way to see them all?

2.) I notice that xmms-mp3 was not listed under the list of installs...how did the person doing this tutorial know to invoke "yum install xmms-mp3" when xmms-mp3 is not in the list? am I missing something?
 
Old 09-28-2005, 12:28 AM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
1.) I used the "yum list available" command and it threw out a huge list of all the available installs, this is great, but I can only see the last 60 or so in the terminal window...is there a way to see them all?
That depends on what type of terminal window you have opened - a GNOME or KDE (konsole) terminal should have normal scroll bars just like any GUI application, at a non-gui console screen do shift+Page Up.

Quote:
2.) I notice that xmms-mp3 was not listed under the list of installs...how did the person doing this tutorial know to invoke "yum install xmms-mp3" when xmms-mp3 is not in the list? am I missing something?
If you setup your yum.conf with those extra repositories it should be listed. Where did you get xmms-mp3 from?
 
Old 09-28-2005, 12:34 AM   #5
Airhead315
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by tkedwards
If you setup your yum.conf with those extra repositories it should be listed. Where did you get xmms-mp3 from?
Step 12 of the yum tutorial you had in your original post... It worked, im using it right now, but I dont see it listed...I see the skin one, and the rest for xmms, but none that is xmms-mp3
 
Old 09-28-2005, 12:39 AM   #6
Airhead315
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Also, im using Fedora 4, so I believe its the Gnome Terminal window, it had scroll bars, but it will only allow you to scroll up to about the "s" 's in the list...Shift-PageUp doesnt go any higher either :-/ also, rpmbuild is not a recognized command on my system..."man rpmbuild" yeilds no response...
 
Old 09-28-2005, 04:37 AM   #7
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
Step 12 of the yum tutorial you had in your original post... It worked, im using it right now, but I dont see it listed
Oh ok. Well if you installed it with 'yum install' then it must be in one of the repos you setup. I'm not sure why it wouldn't be listed.

Quote:
so I believe its the Gnome Terminal window, it had scroll bars, but it will only allow you to scroll up to about the "s" 's in the list
By default it only scrolls 500 lines I think. Goto Edit->Current Profile then on the 'Scrolling' tab you can configure that number. You can also pipe the output to more like this:
Code:
yum list available | more
and scroll through it bit by bit. You could even send the output to a file and then open that file in a text editor and go through it:
Code:
yum list available > /tmp/yumlist
. Linux is very flexible

Quote:
rpmbuild is not a recognized command on my system..."man rpmbuild"
Code:
yum install rpm-build
or possibly
Code:
yum install rpmbuild
or if that doesn't work
Code:
yum search rpmbuild
 
  


Reply



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 installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
rpm installs liljhand Linux - Software 6 05-14-2004 05:21 PM
rpm installs, *.so.* files? Computergirl24 Mandriva 25 01-16-2004 10:37 AM
RPM installs, but doesn't keegan Linux - Software 6 01-06-2004 11:49 AM
RPM Upgrade (glibc-common) Linux4BC Linux - General 2 08-04-2003 10:20 PM

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

All times are GMT -5. The time now is 07:14 AM.

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
Open Source Consulting | Domain Registration