Results 1 to 3 of 3

Thread: rpm package installation

  1. #1
    Member omidkamangar's Avatar
    Join Date
    Mar 2006
    Location
    Kurdistan
    Posts
    239

    rpm package installation

    Sometimes when i try to install a package, say package A,it needs some other packages say B and C which have some strange names like lib.so or somethign like that, how should I know which package should I install to have this library?
    This will be over soon, and then I can ...

  2. #2
    Administrator Associate gr8rcake's Avatar
    Join Date
    May 2004
    Posts
    44
    The rpm command's "--aid" option will search for other pre-requisite RPMs in your directory and install them at the same time.

    Code:
    rpm -i --aid
    The only problem is that you have to have the entire set of RPMs in the directory for this to work. If my machine doesn't have access to yum and the internet, I just copy all the RPMs from my Linux CDs onto my hard drive to make this easier.

    I think there is a way to find out what your depenency RPMs are beforehand. Like this:

    Code:
    rpm -qpR file-name.rpm
    rpm -qpR installed-package-name

  3. #3
    If you have internet access, yum should take care of all dependencies for you.
    My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive.

Similar Threads

  1. FC5 Package Installation Problem
    By iansl in forum Redhat / Fedora
    Replies: 1
    Last Post: 04-02-2006, 12:16 PM
  2. `which` in which package
    By shebang in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 01-06-2005, 04:14 AM
  3. Slackware Package
    By BurntAsh in forum Linux - General Topics
    Replies: 4
    Last Post: 07-18-2004, 07:07 PM
  4. package.rpm vs package.src.rpm
    By OceanSurf in forum Linux - General Topics
    Replies: 11
    Last Post: 06-10-2004, 09:09 PM
  5. LFS Package Management
    By CP in forum Linux - General Topics
    Replies: 8
    Last Post: 10-27-2002, 06:37 AM

Bookmarks

Posting Permissions

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