1FLATPAK CREATE-USB(1)         flatpak create-usb         FLATPAK CREATE-USB(1)
2
3
4

NAME

6       flatpak-create-usb - Copy apps and/or runtimes onto removable media.
7

SYNOPSIS

9       flatpak create-usb [OPTION...] MOUNT-PATH REF...
10

DESCRIPTION

12       Copies the specified apps and/or runtimes REFs onto the removable media
13       mounted at MOUNT-PATH, along with all the dependencies and metadata
14       needed for installing them. This is one way of transferring flatpaks
15       between computers that doesn't require an Internet connection. After
16       using this command, the USB drive can be connected to another computer
17       and flatpak install will prefer to install from it rather than the
18       Internet if (a) each ref comes from a configured remote whose GPG
19       keyring will be used for verification and (b) the refs on the drive are
20       at least as new as what's available elsewhere (e.g. the Internet if
21       you're online). For this process to work a collection ID must be
22       configured on the relevant remotes on both the source and destination
23       computers, and on the remote server.
24
25       On the destination computer one can install from the USB (or any
26       mounted filesystem) the same way you would install from the Internet,
27       e.g. with flatpak install flathub org.gnome.Builder or using a GUI.
28
29       Each REF argument is a full or partial identifier in the flatpak ref
30       format, which looks like "(app|runtime)/ID/ARCH/BRANCH". All elements
31       except ID are optional and can be left out, including the slashes, so
32       most of the time you need only specify ID. Any part left out will be
33       matched against what is installed, and if there are multiple matches an
34       error message will list the alternatives.
35
36       By default this looks for both installed apps and runtimes with the
37       given REF, but you can limit this by using the --app or --runtime
38       option.
39
40       All REFs must be in the same installation (user, system, or other).
41       Otherwise it's ambiguous which repository metadata refs to put on the
42       USB drive.
43
44       By default flatpak create-usb uses .ostree/repo as the destination
45       directory under MOUNT-PATH but if you specify another location using
46       --destination-repo a symbolic link will be created for you in
47       .ostree/repos.d. This ensures that either way the repository will be
48       found by flatpak (and other consumers of libostree) for install/update
49       operations.
50
51       Unless overridden with the --system, --user, or --installation options,
52       this command searches both the system-wide installation and the
53       per-user one for REF and errors out if it exists in more than one.
54

OPTIONS

56       The following options are understood:
57
58       -h, --help
59           Show help options and exit.
60
61       --user
62           Copy refs from the per-user installation.
63
64       --system
65           Copy refs from the default system-wide installation.
66
67       --installation=NAME
68           Copy refs from a system-wide installation specified by NAME among
69           those defined in /etc/flatpak/installations.d/. Using
70           --installation=default is equivalent to using --system.
71
72       --app
73           Assume that all REFs are apps if not explicitly specified.
74
75       --runtime
76           Assume that all REFs are runtimes if not explicitly specified.
77
78       --destination-repo=DEST
79           Create the repository in DEST under MOUNT-PATH, rather than the
80           default location.
81
82       -v, --verbose
83           Print debug information during command processing.
84
85       --ostree-verbose
86           Print OSTree debug information during command processing.
87

EXAMPLES

89       $ flatpak create-usb
90       /run/media/mwleeds/1a9b4cb2-a7ef-4d9b-91a5-6eaf8fdd2bf6/
91       com.endlessm.wiki_art.en
92

SEE ALSO

94       flatpak(1), flatpak-install(1), flatpak-list(1), ostree-create-usb(1)
95
96
97
98flatpak                                                  FLATPAK CREATE-USB(1)
Impressum