@biosharkdev, basically, you’re right. I have to say I don’t know anything about Fedy, but if we treat it like normal packages, then you’re doing it right.
You can optimize a bit like this:
sudo dnf remove fedy
– can remove both packages, if fedy-font-config is marked as a dependency for fedy. Basically it depends from how the quality of original packages. It is something you can cont for fro the packages from the official repository. But you should be prudent and check anyway )
And dnf will tell you exactly what it’s going to do, so checking is really easy.
Second way is this:
sudo dnf remove 'fedy*'
This will remove all the packages you have with name starting with fedy. Again, check nothing you need gets removed before approving the operation.
Again, both these commands are just optimizations aimed at entering one command instead of two. You can do it your way, it’s totally ok )
One more thing to note. Many programs do store configuration somewhere in /etc (if it’s system-wide), or in you home folder (if it’s user-specific). Generally it gets left behind on removing the packages – especially if there were some changes made to the default configuration. It’s done this way so that if you decide to reinstall the program again, you still have your original configuration.
You can leave these configuration files as is, they are generally quite small, and they don’t get used if you have no program that created them.
But you may want to delete them as well (as you do with sudo rm /etc/yum.repos.d/fedy.repo for repo file) so that you don’t have such a leftovers on your system.
To find our if the package creates any system-wide configuration files in /etc you can use this command (prior to deleting the package!):
sudo rpm -ql fedy | grep ‘/etc’
Then after deleting the package you can check if these files/directories were left behind and decide if you want to keep or delete them.
Again, generally you can leave them be, they shouldn’t be used after you delete the program itself.
And this is again generic recommendation, not specific to Fedy in ant way.