Hello everyone , i removed VMware through AUR helper yay and this command
WARNING: it will delete every file or folder with vmware in the name
sudo pacman -S mlocate && sudo updatedb && locate -0 vmware | sudo xargs -0 rm -rf
it seams to work but every time i reinstall kernel with mhwd-kernel these files return.
/usr/lib/modules/5.11.1-1-MANJARO/build/arch/x86/include/asm/vmware.h
/usr/lib/modules/5.11.1-1-MANJARO/build/include/config/vmware
/usr/lib/modules/5.11.1-1-MANJARO/build/include/config/infiniband/vmware
/usr/lib/modules/5.11.1-1-MANJARO/build/include/config/infiniband/vmware/pvrdma.h
/usr/lib/modules/5.11.1-1-MANJARO/build/include/config/vmware/balloon.h
/usr/lib/modules/5.11.1-1-MANJARO/build/include/config/vmware/pvscsi.h
/usr/lib/modules/5.11.1-1-MANJARO/build/include/config/vmware/vmci
/usr/lib/modules/5.11.1-1-MANJARO/build/include/config/vmware/vmci.h
/usr/lib/modules/5.11.1-1-MANJARO/build/include/config/vmware/vmci/vsockets.h
how to remove them completely?
SOLVED:
vmware installs linux headers and dkms
if you don’t need it just remove it with
sudo pacman -R dkms linux511-headers
and reboot
if you are not sure you can keep it because its not from the AUR