So the KDE Connect daemon, on a fresh install of the KDE spin of Rocky, crashes at login. I don't need what it does, so want to remove it. First thing is to find the package name. Now rpm -qa lists all installed packages. So combine
that with grep and we get:
[root@t450g john]# rpm -qa | grep kde | grep conn
kde-connect-22.04.1-2.el9.x86_64
kde-connect-libs-22.04.1-2.el9.x86_64
kdeconnectd-22.04.1-2.el9.x86_64
Then man rpm tells us
rpm {-e|--erase} [--allmatches] [--justdb] [--nodeps] [--noscripts]
[--notriggers] [--test] PACKAGE_NAME ...
so
[root@t450g john]# rpm -e kdeconnectd
error: Failed dependencies:
kdeconnectd = 22.04.1-2.el9 is needed by (installed) kde-connect-22.04.1-2.el9.x86_64
and then
[root@t450g john]# rpm -e kdeconnectd kde-connect kde-connect-libs