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,345
    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,380
    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. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,474
    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.
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

Posting Permissions

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