But now I want to uninstall it, but I don’t know hot to do this because it’s also not showing up with the following command: su -c 'yum search keyword'.
Welcome to Fedora, @mv1982. Please take a minute to look at the posts in the #start-here category if you’ve not had a chance to do so yet.
If you installed from source, neither packagekit nor dnf/yum know about it. That’s why you cannot use them to remove it. To remove this, remove the folders in /usr/local/ that you found.
In future, for Python tools, please use a virtual environment. You should not install software to system folders (/usr/..) unless you are confident that they do not mess/conflict with other system files (ones installed from the Fedora repositories using packagekit/dnf) and know how to remove them later.
One advice: Try don’t install software that is not known as uninstall it or ask in the web site that provide the software for the right way to remove it or how.
I did found out a bit about a way to uninstall it. I will post the links here. read them and try understand every step I didn’t check them but the steps did received a lot positives.
about xargs command man xargs in console.
Edit1: Just don’t use sudo to delete anything ( I think you know but just in case… and check every line in the archive before to do delete anything, but my suggestions is that you ask ito them how delete the software https://trimage.org/ they can be contact via mail or open a pull request
All of us are learning, and none are experts in everything. That keeps life interesting and helps us go from “noob” status to reasonably competent in whatever area we are focusing.
Good luck and don’t feel discouraged because you feel overwhelmed. After all, whatever you are doing gets done one step at a time no matter how experienced you are.