If you just installed the rpm package it should be as easy as finding the package name and removing it (e.g. searching rpm -qa | grep 'duplicati')
The deb package installs it as just duplicati, so assuming it’s the same package name it’s just a matter of running
sudo yum remove duplicati