LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-17-2010, 04:27 PM   #1
Fazal.420
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
Command to get source ( full HTTP/FTP ) path of 'Installed' RPMs


Is there a command to know " From where a specific RPM package was downloaded & installed ( The full HTTP/FTP path ) " ?

For example, if I had previously installed Firefox from here ftp://rpmfind.net/linux/fedora/updat...c13.x86_64.rpm

is there a specific rpm query, or any other place, from where I can get the full ftp path back.


Sorry if I have double-posted, because I am being forced to do so
 
Old 07-18-2010, 05:27 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
To the best of my knowledge, there's no way to do this since the location of the package is not encoded anywhere within the RPM. Yum would be able to keep track of which repos you downloaded a package from if you use that, but I don't think there's any way to do it with a plain old RPM. Maybe if you use yum's localinstall argument giving it the URL it would work but I've never tried it.
 
  


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
Printing full path name for sym links using ls command rlinuxr Linux - Software 9 08-31-2008 11:25 AM
command to show full directory path cuco76 Linux - Newbie 2 10-12-2006 09:36 PM
Where are the programs in linux installed (full path) Bakoulou Mandriva 5 01-22-2006 05:02 PM
get full path of a command (in C) Hady Programming 9 11-21-2003 11:50 AM
get full path of a command (in C) Hady Linux - Software 1 11-19-2003 06:46 PM


All times are GMT -5. The time now is 05:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration