Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Installed Files

  1. #1
    R4D4 NNTP User

    Default Installed Files

    Is there a command I could use to generate a text file listing of installed files?

  2. #2
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,404
    Blog Entries
    34

    Default Re: Installed Files

    Quote Originally Posted by R4D4 View Post
    Is there a command I could use to generate a text file listing of installed files?
    Do you mean a listing of installed rpm applications?

    If so, then try:
    rpm -qa --last > installed-applications.txt

    I'm not at a linux PC right now (and going by memory) so I hope I have that correct.
    Last edited by oldcpu; 11-Jun-2008 at 04:49.

  3. #3
    R4D4 NNTP User

    Default Re: Installed Files

    That is exactly what I was looking for.

    Thanks, appreciate the response and info.

    Regards.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    23,781

    Default Re: Installed Files

    Sorry oldcpu, for your memory. I used the man page and found:
    rpm -qa --filesbypkg
    Henk van Velden

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    23,781

    Default Re: Installed Files

    Well, R4D4, I missed your last post, but when you are satisfied that's all right. But oldcpu's givess you the pavkages, and mine gives you all the files with those packages. I think the last is what you asked for.
    Henk van Velden

  6. #6
    R4D4 NNTP User

    Default Re: Installed Files

    Quote Originally Posted by hcvv View Post
    Well, R4D4, I missed your last post, but when you are satisfied that's all right. But oldcpu's givess you the pavkages, and mine gives you all the files with those packages. I think the last is what you asked for.
    Admittedly your option is more detailed and it is certainly useful to know where each is located. Thanks.

  7. #7
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,404
    Blog Entries
    34

    Default Re: Installed Files

    Quote Originally Posted by hcvv View Post
    Sorry oldcpu, for your memory. I used the man page and found:
    rpm -qa --filesbypkg
    Actually I don't recall ever using that rpm argument. I'll have to try it at home. Thanks for sharing that.

    Another useful one, when looking for dependencies for a specific rpm, is:
    rpm -qpR package.rpm
    ... it can be useful if one's application is not working, and one wishes to check to see if any of the dependency applications may have a hiccup (and hence need a list of the dependencies)...

    .... (although I am getting off topic).

  8. #8
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,404
    Blog Entries
    34

    Default Re: Installed Files

    Quote Originally Posted by oldcpu View Post
    Another useful one, when looking for dependencies for a specific rpm, is:
    rpm -qpR package.rpm
    ... or simply (if the rpm "package.rpm" is installed):
    rpm -qR package

    .... again, ... a bit off topic.

  9. #9
    R4D4 NNTP User

    Default Re: Installed Files

    Hey! don't let being off topic deter you folks. I am soaking up the how to stuff so thanks again.

    Regards.

  10. #10
    Rikishi 42 NNTP User

    Default Re: Installed Files

    On 2008-06-11, R4D4 <R4D4@no-mx.forums.opensuse.org> wrote:
    >
    > Is there a command I could use to generate a text file listing of
    > installed files?


    If you're looking for a list of installed applications:

    for I in ls '/usr/bin'
    do
    apropos $I 2>/dev/null
    done


    PS: the quotes are wrong, but can't get them right from this terminal.
    You need the other ones, can someone correct?


    --
    The sand remembers once there was beach and sunshine
    but chip is warm too
    -- haiku from Effector Online, Volume 1, Number 6

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •