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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-28-2005, 12:21 AM
|
#1
|
LQ Newbie
Registered: Sep 2005
Posts: 4
Rep:
|
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
|
|
|
09-28-2005, 12:41 AM
|
#2
|
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549
Rep:
|
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.
|
|
|
09-28-2005, 01:15 AM
|
#3
|
LQ Newbie
Registered: Sep 2005
Posts: 4
Original Poster
Rep:
|
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?
|
|
|
09-28-2005, 01:28 AM
|
#4
|
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549
Rep:
|
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?
|
|
|
09-28-2005, 01:34 AM
|
#5
|
LQ Newbie
Registered: Sep 2005
Posts: 4
Original Poster
Rep:
|
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
|
|
|
09-28-2005, 01:39 AM
|
#6
|
LQ Newbie
Registered: Sep 2005
Posts: 4
Original Poster
Rep:
|
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...
|
|
|
09-28-2005, 05:37 AM
|
#7
|
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|