mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
53 lines
1.5 KiB
Markdown
53 lines
1.5 KiB
Markdown
## Linux 安装
|
||
|
||
### Debian 系发行版
|
||
|
||
使用 Debian 系发行版时,推荐使用 .deb 包安装:
|
||
|
||
```shell
|
||
sudo apt install ./nekoray-*-debian-x64.deb
|
||
```
|
||
|
||
安装完成后,桌面快捷方式启动自带参数 `-appdata`,如果想要直接启动并使用之前的配置,注意附带本参数。
|
||
|
||
### 其他发行版
|
||
|
||
下载 .zip 文件,解压到合适的路径,开箱即用。
|
||
|
||
或下载 .AppImage,并使用 `chmod +x nekoray-*-AppImage-x64.AppImage` 给予可执行权限。
|
||
|
||
具体使用方法见下文。
|
||
|
||
或者使用 AUR `nekoray-git`。
|
||
|
||
## Linux 运行
|
||
|
||
**使用 Linux 系统相信您已具备基本的排错能力,
|
||
本项目不提供特定发行版/架构的支持,预编译文件不能满足您的需求时,请自行编译/适配。**
|
||
|
||
已知部分 Linux 发行版无法使用、非 x86_64 暂无适配,可以尝试自行编译。
|
||
|
||
目前 Release 便携包解压后,有两种使用方法:
|
||
|
||
1. System: 若要使用系统的 Qt5 运行库,请执行 `./nekoray`
|
||
2. Bundle: 若要使用预编译的 Qt 运行库,请执行 `./launcher`
|
||
|
||
### Bundle
|
||
|
||
要求:已安装主流的发行版和 xcb 桌面环境。
|
||
|
||
运行: `./launcher` 或 部分系统可双击打开
|
||
|
||
launcher 参数
|
||
|
||
* `./launcher -- -appdata` ( `--` 后的参数传递给主程序 )
|
||
* `-debug` Debug mode
|
||
|
||
Ubuntu 22.04: `sudo apt install libxcb-xinerama0`
|
||
|
||
### System
|
||
|
||
要求:已安装主流的发行版和 xcb 桌面环境,已安装 Qt5.12 ~ Qt5.15 环境。
|
||
|
||
运行: `./nekoray` 或 部分系统可双击打开。如果无法运行,建议使用 Bundle 版。
|