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"), but this fuzzy matching
23 behavior is disabled if REF contains any slashes or periods.
24
25 By default this looks for both installed apps and runtimes with the
26 given REF, but you can limit this by using the --app or --runtime
27 option, or by supplying the initial element in the REF.
28
29 Normally, this command removes the ref for this application/runtime
30 from the local OSTree repository and purges any objects that are no
31 longer needed to free up disk space. If the same application is later
32 reinstalled, the objects will be pulled from the remote repository
33 again. The --keep-ref option can be used to prevent this.
34
35 When --delete-data is specified while removing an app, its data
36 directory in ~/.var/app and any permissions it might have are removed.
37 When --delete-data is used without a REF, all 'unowned' app data is
38 removed.
39
40 Unless overridden with the --system, --user, or --installation options,
41 this command searches both the system-wide installation and the
42 per-user one for REF and errors out if it exists in more than one.
43
45 The following options are understood:
46
47 -h, --help
48 Show help options and exit.
49
50 --keep-ref
51 Keep the ref for the application and the objects belonging to it in
52 the local repository.
53
54 -u, --user
55 Uninstalls from a per-user installation.
56
57 --system
58 Uninstalls from the default system-wide installation.
59
60 --installation=NAME
61 Uninstalls from a system-wide installation specified by NAME among
62 those defined in /etc/flatpak/installations.d/. Using
63 --installation=default is equivalent to using --system.
64
65 --arch=ARCH
66 The architecture to uninstall, instead of the architecture of the
67 host system. See flatpak --supported-arches for architectures
68 supported by the host.
69
70 --all
71 Remove all refs on the system.
72
73 --unused
74 Remove unused refs on the system.
75
76 -y, --assumeyes
77 Automatically answer yes to all questions. This is useful for
78 automation.
79
80 --noninteractive
81 Produce minimal output and avoid most questions. This is suitable
82 for use in non-interactive situations, e.g. in a build script.
83
84 --app
85 Only look for an app with the given name.
86
87 --runtime
88 Only look for a runtime with the given name.
89
90 --no-related
91 Don't uninstall related extensions, such as the locale data.
92
93 --force-remove
94 Remove files even if they're in use by a running application.
95
96 --delete-data
97 Remove app data in ~/.var/app and in the permission store.
98
99 -v, --verbose
100 Print debug information during command processing.
101
102 --ostree-verbose
103 Print OSTree debug information during command processing.
104
106 $ flatpak --user uninstall org.gnome.gedit
107
108
109
110flatpak FLATPAK UNINSTALL(1)