LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-05-2006, 07:12 AM   #1
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Rep: Reputation: 30
Installing an rpm...not sure what I'm looking at...


I have a program that from what I can find on the internet only comes in the format of {filename}.src.rpm...in the past, and with alittle bit of luck I usually use rpm -i {filename} or use the RPM Manager that came along with my distro (this case SuSE10 and YAST) and 90% of the time the program installs just fine.

This time however when I type ">rpm -iv {filename}" I get this in return ">{filename}.tar.gz"...so now do I use the tar program? And if so, where did {filename.tar.gz) get saved to...its not in the same directory as the .src.rpm file.....please advise, and thanks
 
Old 03-05-2006, 08:56 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
When you say you get filename.tar.gz, do you mean you saw it in the running narrative of the rpm command? How do you know it exists if it is not in the directory you are viewing?
the rpm command simply installs files from a package. What and where depends on what that package is. (.src suggests source code)

What IS the thing you are trying to install? does it have instructions?
Tey searching your system for filename--without any of the extensions.
 
Old 03-05-2006, 11:00 AM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
That's a source rpm. It's simply an rpm package of the source code so that you can compile it yourself. On my box, rpm -i filename.src.rpm usually dumps the tar.gz in /usr/src/RPMS/. This may vary on your box, but check there first

If all else fails,
Code:
cd /
find . |grep -i filename
When you find it, you can use 'tar -xzvf filename.tar.gz' to extract it. Then, you'll have to compile it. That's normally as simple as:

./configure
make
su -c 'make install'

Good luck
-- Shade
 
Old 03-05-2006, 12:21 PM   #4
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Original Poster
Rep: Reputation: 30
found it...

it was in /usr/src/packages/SOURCES...thanks for input Shade and pixellany....
 
  


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
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM
installing rpm Stan the caddy Linux - Software 1 12-13-2003 05:28 AM
Installing rpm InEeDhElPlInUx Linux - Software 3 10-02-2003 09:59 AM
Installing RPM`s BajaNick Linux - Software 2 07-10-2003 10:00 PM
help with installing a rpm sluggo Linux - Software 3 01-26-2002 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:49 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
Open Source Consulting | Domain Registration