Install a new package and assume yes to all questions (also works with update, great for automated updates)

yum

  • Package management utility for RHEL, Fedora, and CentOS (for older versions).
    More information: <https://manned.org/yum>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

yum -y install {{package}}

click the source code to copy install yum on any operating system with command-not-found.com