LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-17-2010, 03: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, 04:27 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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



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

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

All times are GMT -5. The time now is 10:04 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