1FLATPAK UNINSTALL(1) flatpak uninstall FLATPAK UNINSTALL(1)
2
3
4
6 flatpak-uninstall - Uninstall an application or runtime
7
9 flatpak uninstall [OPTION...] [REF...]
10
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
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. See flatpak --supported-arches for architectures
67 supported by the host.
68
69 --all
70 Remove all refs on the system.
71
72 --unused
73 Remove unused refs on the system.
74
75 -y, --assumeyes
76 Automatically answer yes to all questions. This is useful for
77 automation.
78
79 --noninteractive
80 Produce minimal output and avoid most questions. This is suitable
81 for use in non-interactive situations, e.g. in a build script.
82
83 --app
84 Only look for an app with the given name.
85
86 --runtime
87 Only look for a runtime with the given name.
88
89 --no-related
90 Don't uninstall related extensions, such as the locale data.
91
92 --force-remove
93 Remove files even if they're in use by a running application.
94
95 --delete-data
96 Remove app data in ~/.var/app and in the permission store.
97
98 -v, --verbose
99 Print debug information during command processing.
100
101 --ostree-verbose
102 Print OSTree debug information during command processing.
103
105 $ flatpak --user uninstall org.gnome.gedit
106
107
108
109flatpak FLATPAK UNINSTALL(1)