yum .rpm

Todd Zullinger tmz at pobox.com
Sun Oct 9 20:04:59 UTC 2011


Andre Robatino wrote:
> Kevin Fenzi <kevin <at> scrye.com> writes:
>
>> yum localinstall == yum install
>>
>> Same thing anymore. Yum figures out if the package is local or not.
>
> If using Tab completion on the file name, yum install will waste
> time going through remote repos, while yum localinstall will
> complete almost immediately since it only looks locally.

If you use ./ or the full path, then yum's tab complete does not try
to look in the repos for completion targets.  (This has been true
since April 2009, when bash completion's yum file was patched.  It's
now in upstream yum, but should work the same.)

> I can type the extra 5 letters faster than waiting for the remote
> search to finish.

I see your extra 5 letters and raise you a './'. ;)

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The right to be let alone is indeed the beginning of all freedom.
    -- Justice William O. Douglas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 543 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20111009/09a47fbb/attachment.bin 


More information about the users mailing list