Find the answer to your Linux question:
Results 1 to 3 of 3
can anybody reoommend me a rpm tool, that can do (some of) the following things: - show me what packages are installed ( also when the packages was installed, do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Posts
    3

    help, rpm tool needed


    can anybody reoommend me a rpm tool, that can do (some of) the following things:

    - show me what packages are installed
    ( also when the packages was installed, do some search and order by different criteria )

    - let me view package files in a directory/list of directories, do some search, sort, etc.

    - automatically install all the needed packages for a requested package, finding them in a directory list.

    I just installed Feodora Core 4 and I definitely dislike their packaging softawre, because it can only handle the packages it knows about. And although I have the iso images mounted, when I doubleclick a rpm file, the system asks me to insert a CD

    Where can I read more about RPM ?

    thanks in advance.

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    I have never really delt directly with RPM's (always used package managers) but for reading, try here.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578

    Re: help, rpm tool needed

    Quote Originally Posted by igarn
    - show me what packages are installed
    ( also when the packages was installed, do some search and order by different criteria )
    I'm not sure exactly what you mean, but if you're referring to listing all the packages that are installed on the system, run `rpm -qa'. To search or order or anything, use standard shell filters, like `grep' and `sort', such as this example:
    Code:
    rpm -qa | grep -i gtk | sort
    That will list all packages whose names contain "gtk" (case insensitively) and sort them alphabetically.

    Quote Originally Posted by igarn
    - let me view package files in a directory/list of directories, do some search, sort, etc.
    I'm not sure what you mean by this. If you want to know what package a certain file belongs to, run `rpm -qf /path/to/the/file'. If you want to list all files that belong to a certain package, run `rpm -ql packagename'. Again, to search, sort, etc., just use standard shell filters.

    Quote Originally Posted by igarn
    - automatically install all the needed packages for a requested package, finding them in a directory list.
    That would be yum. For example, if you run `yum install squirrelmail', it will install squirrelmail and, if they aren't already installed, apache and php. yum looks through certain repositories to resolve dependencies. By default, the Fedora Core and Fedora Extras repositories are configured. There are some other repositories on the net, which you can add to yum's configuration.

    Quote Originally Posted by igarn
    I just installed Feodora Core 4 and I definitely dislike their packaging softawre, because it can only handle the packages it knows about.
    I'm not sure what that's supposed to mean. What kind of packages does it "know about", and what kind of packages can it not handle?

    Quote Originally Posted by igarn
    And although I have the iso images mounted, when I doubleclick a rpm file, the system asks me to insert a CD :!: :?: :!:
    I'll admit that that's really weird -- that's not how it usually does. Did you try running "rpm -ihv" on the RPM file?

    Quote Originally Posted by igarn
    Where can I read more about RPM ?
    Hmm... I dunno really, but I guess http://www.rpm.org/ would be a good a place as any.

Posting Permissions

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