How can I specify a repo during ad-hoc yum client operation without any related .repo file ?

Solution Unverified - Updated -

Issue

  • Is is possible to allow for ad-hoc, point in time use of a yum repo? 

  • Something like 'yum --includerepo=http://login:password@yum.awesome.com/ install awesome-package' without having anything related to yum.awesome.com in a .repo file in yum.repos.d/ ? 

Environment

  • RHEL as yum client

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.