1FLATPAK UNINSTALL(1)           flatpak uninstall          FLATPAK UNINSTALL(1)
2
3
4

NAME

6       flatpak-uninstall - Uninstall an application or runtime
7

SYNOPSIS

9       flatpak uninstall [OPTION...] [REF...]
10

DESCRIPTION

12       Uninstalls an application or runtime.  REF is a reference to the
13       application or runtime to uninstall.
14
15       Each REF argument is a full or partial identifier in the flatpak ref
16       format, which looks like "(app|runtime)/ID/ARCH/BRANCH". All elements
17       except ID are optional and can be left out, including the slashes, so
18       most of the time you need only specify ID. Any part left out will be
19       matched against what is installed, and if there are multiple matches
20       you will be prompted to choose between them. You will also be prompted
21       if REF doesn't match any installed ref exactly but is similar (e.g.
22       "gedit" is similar to "org.gnome.gedit").
23
24       By default this looks for both installed apps and runtimes with the
25       given REF, but you can limit this by using the --app or --runtime
26       option, or by supplying the initial element in the REF.
27
28       Normally, this command removes the ref for this application/runtime
29       from the local OSTree repository and purges any objects that are no
30       longer needed to free up disk space. If the same application is later
31       reinstalled, the objects will be pulled from the remote repository
32       again. The --keep-ref option can be used to prevent this.
33
34       When --delete-data is specified while removing an app, its data
35       directory in ~/.var/app and any permissions it might have are removed.
36       When --delete-data is used without a REF, all 'unowned' app data is
37       removed.
38
39       Unless overridden with the --system, --user, or --installation options,
40       this command searches both the system-wide installation and the
41       per-user one for REF and errors out if it exists in more than one.
42

OPTIONS

44       The following options are understood:
45
46       -h, --help
47           Show help options and exit.
48
49       --keep-ref
50           Keep the ref for the application and the objects belonging to it in
51           the local repository.
52
53       --user
54           Uninstalls from a per-user installation.
55
56       --system
57           Uninstalls from the default system-wide installation.
58
59       --installation=NAME
60           Uninstalls from a system-wide installation specified by NAME among
61           those defined in /etc/flatpak/installations.d/. Using
62           --installation=default is equivalent to using --system.
63
64       --arch=ARCH
65           The architecture to uninstall, instead of the architecture of the
66           host system.
67
68       --all
69           Remove all refs on the system.
70
71       --unused
72           Remove unused refs on the system.
73
74       -y, --assumeyes
75           Automatically answer yes to all questions. This is useful for
76           automation.
77
78       --noninteractive
79           Produce minimal output and avoid most questions. This is suitable
80           for use in non-interactive situations, e.g. in a build script.
81
82       --app
83           Only look for an app with the given name.
84
85       --runtime
86           Only look for a runtime with the given name.
87
88       --no-related
89           Don't uninstall related extensions, such as the locale data.
90
91       --force-remove
92           Remove files even if they're in use by a running application.
93
94       --delete-data
95           Remove app data in ~/.var/app and in the permission store.
96
97       -v, --verbose
98           Print debug information during command processing.
99
100       --ostree-verbose
101           Print OSTree debug information during command processing.
102

EXAMPLES

104       $ flatpak --user uninstall org.gnome.gedit
105
106
107
108flatpak                                                   FLATPAK UNINSTALL(1)
Impressum