We really enjoy the auto complete feature in bash but it would be great to have it with “yum”. Debian based Linux Users already have it. Red Hat based distros do not ship with auto-complete enabled in “yum” which would be great if they do. Meanwhile here is a small trick to use mighty auto complete with “yum”, this will work with Red Hat as well as Cent OS and Fedora (all versions).
- Change to root
su -
- Install the package: bash-completion
yum install bash-completion
And you are good to go. You can now type “yum install “ and hit [TAB] to load suggestions just like in bash.