Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Unable to Install RPM's from a Text File

    Posted on

    I have a text file that contains a list of RPM's that my RHEL 6.7 servers should match.
    So I would like to install any RPM's in the text file that are not already installed on my server.

    A web search found the following command that should work.

    yum -y install $(cat file_name)

    When I run the command, I get a list of all the RPM's with 'available.' in front.
    Then it finishes with 'Error: Nothing to do'

    If I run the yum command with a single RPM listed. It will install, but no luck using the text file.

    How do I get the RPM's to install from the text file?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat