Linux command
distrobox-export 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Export an app
distrobox-export -a [package] -ef "--foreground"
Export a binary
distrobox-export -b [path/to/binary] -ep [path/to/binary_on_host]
Example
distrobox-export -b [path/to/binary] -ep [path/to/export]
Export a service
distrobox-export --service [package] -ef "--allow-newer-config" -S
Delete
distrobox-export -a [package] -d
说明
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.
参数
- -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
FAQ
What is the distrobox-export command used for?
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.
How do I run a basic distrobox-export example?
Run `distrobox-export -a [package] -ef "--foreground"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a, --app _app_ do in distrobox-export?
Export application (creates desktop entry)