I've uninstall flatpak with:

sudo apt remove flatpak

but I'm getting a:

flatpak: command not found

everytime I start the terminal, I checked the .profile and the .bashrc to see where that command could be invoked but found nothing. I even used fzf to search and remove any flatpak things left behind and checked this question and remove the relevant files but I'm still getting that error when lunching the terminal. Any help is appreciated!


It seems this file in:


was causing the issues. After deleting everything worked ok.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.