2.3 KiB
2.3 KiB
安装
PYPI
任何安装了 pip 的系统均可:
- 所有
python支持的系统 (pip是用python写的)
pip install mulimgviewer
# if you want a prompt when this program has a new version
pip install mulimgviewer[update]
注意,目前由于依赖项 wxpython 的 bug,该方法可能会失败。
除了 pip 以外的安装方式都会额外支持任务栏的图标。 pip 不支持是因为 pip
只能把软件安装到类似 /usr/lib/python3.X/site-packages
的目录里,而软件的快捷方式、图标都必须放在该目录以外的其他目录。
当然,你手动完成也是可以的。
AUR
任何安装了 pacman 的系统均可(尽管目前仅在
ArchLinux 上测试过):
- ArchLinux
- Other Linux distributions with pacman
- Windows with Msys2
- Android with Termux-pacman
通过AUR 助手安装:
yay -S python-mulimgviewer
PPA
目前该软件还没有打包到 Ubuntu PPA 上。
这是一个临时的安装方法,它避开了 wxpython 的 bug(目前运行该网站的 Ubuntu
22.04 就是这样安装的):
sudo apt install python3-wxgtk4.0
git clone --depth=1 https://github.com/nachifur/MulimgViewer
cd MulimgViewer
sed -i /wxpython/d requirements.txt
pip install .
Nix
任何安装了 nix 的系统均可:
- Nix OS
- Other Linux distributions with nix
- macOS with nix-darwin
TODO
brew
任何安装了 brew 的系统均可:
- Any Linux distributions with linuxbrew
- macOS with homebrew
brew install https://github.com/nachifur/MulimgViewer/blob/master/python-mulimgviewer.rb
Windows exe
下载 exe 文件:
- 安装版
*_Setup.exe(启动速度更快) - 便携版
*_Portable.exe
