Find the answer to your Linux question:
Results 1 to 4 of 4
Recently I Installed New Redhat server while I Install Any Packages It says " No such file or directory " But If i Search the file using [rpm -qa | ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2010
    Posts
    1

    I Can't Install Any Redhat Packages


    Recently I Installed New Redhat server while I Install Any Packages It says

    " No such file or directory "
    But If i Search the file using [rpm -qa | grep packages_name]
    It shows the package , Also If I Use [rpm -qi package_name ] It show package Information , Size and Every thing .
    Finally when i going install package using [ rpm -ivh package_name] It says
    " No such file or directory " Any one Help Me...

    Screen Shot of error link => [IMG]img135.imageshack.us/img135/2430/linuxerror.jpg[/IMG]

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,440
    Code:
    rpm -qa
    shows *already* installed packages.

    If you want to search the package repository, use yum
    Code:
    yum search <WHATEVER>
    To install a new package use
    Code:
    yum install <PACKAGENAME>
    You must always face the curtain with a bow.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,752
    You should use the yum package manager instead of rpm to install packages on Red Hat systems. Also, you need to have a valid support license in order to install any updates or new packages with RHEL.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. $spacer_open
    $spacer_close
  5. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,651
    If you don't have a licence, you can convert to CentOS

    How to Convert RHEL 5 to CentOS 5 | Unixmen

    The comments have additional info.
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

Posting Permissions

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