How to properly uninstall flatpak

16,027

It seems this file in:

/etc/profile.d/flatpak.sh

was causing the issues. After deleting everything worked ok.

Share:
16,027

Related videos on Youtube

bpinaya
Author by

bpinaya

Updated on September 18, 2022

Comments

  • bpinaya
    bpinaya almost 2 years

    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!