use 'dnf <command>' instead of 'yum <command>'.
Oh please no. The yum command is synonymous with Redhat/Fedora. dnf is a terrible name for a common command...almost as terrible as apt-get.