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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content