Not sure how application was installed

I feel so stupid asking this, but I have an application – Rufin – installed, and I am not sure how I have it installed. I am trying to uninstall it because it is not updating and I see that both the aur package and the flathub package online are up to date, so I would like to uninstall and then reinstall with aur preferably so I know it will update.

Running the command yay rufin shows two aur packages (git and bin), but neither show it as being installed. Likewise, running flatpak list does not show Rufin as one of the installed packages either. I am frankly not aware of any other way I might have installed it (was I drunk? sheesh). I don’t use snaps, but I checked regardless (I don’t have the service installed).

Anyway, upon running locate rufin, I get a whole bunch of crap that exceeds the 1000 line or whatever it is limit of the terminal, with several things such as: /home/shawn/.var/app/io.github.screwys.Rufin/cache/rufin/covers/local_server_library/local_cover_file_3A_2Frun_2Fflatpak_2Fdoc_2Fc1872905_2FMusic_2Fzero_2Dproject_2FDarkness_20falls_2FCover_2Ejpg/file_5ec593077f462db8/256

This leads me to believe that it is a flatpak package, but again flatpak seems to think it is not installed. Running flatpak remove rufin or flatpak remove io.github.screwys.Rufin results in it telling me it is not installed.

Anyway, any help is appreciated.

Find the .desktop and see what the Exec line points to. That should be a good start.

It will most likely be in /usr/share/applications or ~/.local/share/applications

Exec=rufin

I feel like this is not showing what we were hoping lol.

Does it only have that one Exec line or are there more in the file?

[Desktop Entry]
Name=Rufin
Comment=Reimagine your music library
Exec=rufin
Icon=io.github.screwys.Rufin
Terminal=false
Type=Application
Categories=AudioVideo;Audio;Music;Player;
Keywords=Jellyfin;Subsonic;Navidrome;Music;GTK;Audio;Player;
StartupNotify=true

What does which rufin return?

/usr/bin/rufin

OK, how about pacman -Qo /usr/bin/rufin

/usr/bin/rufin is owned by rufin 0.8.0-1

Well, there you have it

oh, yes pacman -R rufin is doing it. OMG, I am so dumb. THANK YOU dalto! I appreciate you!

You can uninstall it with pacman and then install it however you want.

Just curious, why was yay not able to do it?

yay can do the same thing.

It is probably because you tried rufin-bin and rufin-git but not rufin