liunx 打包deb文件

发布时间 2023-04-13 17:48:34作者: 汪丛兴

liunx 打包deb文件

github 地址

https://github.com/wangcongxing/python3-demo-deb

1.liunx 安装
sudo apt-get install python3-pyqt5
sudo apt-get install qt5-default qttools5-dev-tools

pip3 install pyinstaller

/home/xxx/.local/bin/pyinstaller --name myApp a.py
/home/xxx/.local/bin/pyinstaller myApp.spec

sudo apt install ruby
gem install fpm --user-install

sudo dpkg-deb -b /home/xxx/code/mydeb mydeb.deb
参考
https://www.pythonguis.com/tutorials/packaging-pyqt5-applications-linux-pyinstaller/
https://blog.csdn.net/SteveForever/article/details/124896906
https://blog.csdn.net/qq_27061049/article/details/126649039
https://juejin.cn/post/7029284097939734535