LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

distrobox-export

export container applications and binaries to host system

TLDR

Export an app to the host
$ distrobox-export -a [package] -ef "--foreground"
copy
Export a binary to host
$ distrobox-export -b [path/to/binary] -ep [path/to/binary_on_host]
copy
Export binary to ~/.local/bin
$ distrobox-export -b [path/to/binary] -ep [path/to/export]
copy
Export a service as root
$ distrobox-export --service [package] -ef "--allow-newer-config" -S
copy
Delete an exported application
$ distrobox-export -a [package] -d
copy

SYNOPSIS

distrobox-export [options]

DESCRIPTION

distrobox-export exports applications, binaries, or services from a Distrobox container to the host system. Exported apps appear in the host's application menu, and binaries become available in the host's PATH.Run this command from inside the container.

PARAMETERS

-a, --app app

Export application (creates desktop entry)
-b, --bin binary
Export binary
-s, --service service
Export systemd service
-ep, --export-path path
Destination path for binary
-ef, --extra-flags flags
Extra flags for exported item
-S, --sudo
Run service as root inside container
-d, --delete
Remove exported item

CAVEATS

Must be run from inside the container. Exported apps depend on the container running. Deleting the container breaks exported applications.

SEE ALSO

Copied to clipboard
Kai