yum was replaced with dnf in CentOS 8. The command yum still exists because people will still remember it for years to come. The only thing it does is to call dnf.
[root@localhost ~]# ls -l /usr/bin/yum
lrwxrwxrwx. 1 root root 5 Jul 21 18:46 /usr/bin/yum -> dnf-3
[root@localhost ~]# file /usr/bin/yum
/usr/bin/yum: symbolic link to dnf-3
yum
was replaced withdnf
in CentOS 8. The commandyum
still exists because people will still remember it for years to come. The only thing it does is to calldnf
.