Cannot uninstall certain apps

These two apps show in my menu and can be opened, but I’m unable to remove them from either paru or pacma. Any suggestion?

$ paru -Ss xcas
$ paru -Ss xmaxima
aur/wxmaxima 24.05.0-1 [+18 ~0.11]
    A wxWidgets GUI for the computer algebra system Maxima
aur/wxmaxima-git 1:23.04.0.r2.g11028a1f3-1 [+4 ~0.00] [Orphaned]
    A document based interface for the computer algebra system Maxima.

Screenshot_2024-06-05_14-05-43

What says: pacman -Q xmaxima xcas ?

$ pacman -Q xmaxima x
error: package 'xmaxima' was not found
error: package 'x' was not found

Are you sure you installed them with pacman/paru?

Did you manually install them or use flatpak/snap/appimage?

pacman/paru can only remove software that they installed.

What does pacman -Qq | grep max show

I must infer probably not.

Then you need to figure out how you installed them.

Start by looking at the .desktop and see where the Exec line points to.

So I guess remove the .desktop and the binary?

$ find /usr/share/applications/ ~/.local/share/applications/ -name "*xcas*.desktop"
/usr/share/applications/xcas.desktop
$ cat /usr/share/applications/xcas.desktop
[Desktop Entry]
Version=1.0
Keywords=computer algebra system;CAS;
Keywords[fr]=calcul formel;CAS;
Name=Xcas
GenericName=Computer Algebra System
GenericName[de]=Computeralgebrasystem
GenericName[fr]=Système de calcul formel
Comment=The swiss knife for mathematics
Comment[de]=Das Schweizer Messer für Mathematik
Comment[fr]=Le couteau suisse des mathématiques
TryExec=xcas
Exec=xcas %F
Icon=xcas
Terminal=false
Type=Application
Categories=Education;Math;
MimeType=application/x-xcas;

X-AppInstall-Package=xcas
X-AppInstall-Popcon=330
X-AppInstall-Section=universe
$ which xcase
which: no xcase in (/usr/local/texlive/2024/bin/x86_64-linux:/home/erwann/perl5/bin:/opt/google-cloud-cli/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin)
$ which xcas
/usr/bin/xcas

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.