Want to uninstall a program but it doesn't show up in Software Center and Terminal

Hi,

I switched from Windows 10 to Fedora 31 this month. Great OS! Already learned a lot this month.

I installed Trimage on Fedora 31 using the following tutorial: https://linoxide.com/how-tos/tool-optimize-images/ (Install Trimage From Source).

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'.

How can I remove this program?

Hi… :face_with_monocle: :monkey: :sunflower:

[tester@localhost Trimage-master]$ python setup.py install

error: could not create '/usr/local/lib/python3.7': Permission denied

Try search in /usr/local/lib/python3.7/site-packages/ for

  • a folder trimage
  • a file trimage-1.0.6-py3.7.egg-info

Hi,

Thank you for your reply.

I’ve found the folder and file you mentioned.

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.

https://docs.python.org/3/tutorial/venv.html

2 Likes

I knew that there need to be an tutorial for this!

Hi;

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

Regards.

1 Like

Thank you for your reply and advice. I still have a lot to learn, I guess.

2 Likes

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.

3 Likes

I just re-installed Fedora 31.

2 Likes