Linux, C, DOS, Vim, networking. he/him

  • 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle



  • You added the Flatpak repo as a “system” repo with:

    flatpak remote-add flathub https://dl.flathub.org/repo/flathub.flatpakrepo
    

    As such, the downloaded applications are stored by the system in /var like you said.

    If you run installs as user installs, eg:

    flatpak --user install com.example.appname
    

    Then the application is stored in your home directory, not in /var.

    You can also add the Flatpak repo as a “user” repo, eg:

    flatpak --user remote-add flathub https://dl.flathub.org/repo/flathub.flatpakrepo
    

    Now all installs will behave as if you passed --user to the install command. All installs will go to your home directory, none will go to /var