To properly uninstall felix86, you need to remove the felix86 binary, the rootfs, and potential binfmt_misc installations, among other things.
The uninstallation script can handle all this for you:
Manual uninstallation
Uninstalling from binfmt_misc
The felix86 -u command should uninstall from binfmt_misc:
Or, if you prefer doing it manually:
sudo rm /etc/binfmt.d/felix86-*
sudo rm /usr/lib/binfmt.d/felix86-*
sudo rm /usr/local/lib/binfmt.d/felix86-*
sudo rm /run/binfmt.d/felix86-*
Restart systemd-binfmt to finalize in the current session:
Deleting the rootfs
If you don’t remember the rootfs path, it can be obtained with felix86 --get-config general.rootfs_path:
If the rootfs lives inside /opt/felix86 you can skip this step.
Deleting configuration files
The felix86 profile files are stored in $HOME/.config/felix86
By default, felix86 will have its own history file that should be removed:
The global configuration file is stored in /etc/opt/felix86/config.toml
Deleting /opt/felix86
The felix86 binary itself, thunks, and any other tools exist in /opt/felix86:
Deleting symlinks
Deleting icons
for size in 16 24 32 48 96 128; do
xdg-icon-resource uninstall --mode user --context apps --size "$size" offtkp-felix86
done
Deleting Vulkan layer, if felix86 MangoHud is installed
If you installed the felix86 MangoHud fork using https://install.felix86.com/mangohud.sh, you will need to remove the installed Vulkan layer: