首页 > 其他分享 >liunx 打包deb文件

liunx 打包deb文件

时间:2023-04-13 17:57:16浏览次数:18  
标签:pyinstaller sudo apt liunx install deb 打包

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

标签:pyinstaller,sudo,apt,liunx,install,deb,打包
From: https://www.cnblogs.com/wangcongxing/p/17315866.html

相关文章

  • java故障处理(三)远程debug
    转载:https://blog.51cto.com/u_11554106/4930697一、remotedebug何为远程debug呢?通常我们在开发过程中,都会将代码部署到服务中,这个时候QA提出了一个bug,通过查看代码的逻辑发现问题十分的困难?一般情况下都是想着本地能不能复现一下,本地debug调试一下;或者通过arthas进行相关......
  • windows程序利用setup project项目进行打包安装
    编译好的C++项目可以通过visualstudio的setupproject项目进行打包安装1、利用dumpbin/dependents*.exe命令查看生成的运行文件所依赖的库dll,然后将相应库拷贝到即将打包的文件夹中,需使用x64NativeToolsCommandPromptforVS20192、下载扩展MicrosoftVisualStudio......
  • Debian下解决vim不能安装问题
    新安装的一个Debian系统,无法安装vim编辑器找到问题是系统自带了一个依赖包vim-common。。。。。。 卸载这个依赖包apt-getremovevim-common 重新安装vimapt-getinstallvim 成功解决 ......
  • 制作firebird for linux aarch64/loonarch64单机版deb安装包
    firebird是一个全功能的,强大高效的,轻量级,免维护的数据库,下面简单介绍firebird作为单机版时怎样制作deb安装包(firebird编译见:https://www.cnblogs.com/qiufeng2014/p/16593961.html)。制作安装包有2点要注意:1、设置依赖包:libtommath-dev,libmcrypt-dev,libtomcrypt-dev2、将libEngin......
  • linux下使用pyinstaller打包python脚本
    最近给运维写一个系统维护的python脚本,但是被告知生产环境有很多服务器没有安装python解释器,于是在网上搜索多pyinstaller解决方案,本文简单记录之。下载pyinstaller。最新的pyinstaller版本为2.0版本,官方网站http://www.pyinstaller.org。下载链接:http://jaist.dl.sourceforge......
  • 网页端debugger反调试的几种对抗方式
    简单总结下目前我掌握的几种对抗debugger反调试的方法,也欢迎大佬们有新的好用的方式补充。 首先写一个简单的html演示: 看下下面的这段JS,很简单,运行时做了一下验证,对比test方法的文本,如果不一样就通过setInterval无限调用debugger。functiontest(x,y){......
  • debugger - lldb
    https://lldb.llvm.org/use/map.html......
  • debugger - gnu
    https://darkdust.net/files/GDBCheatSheet.pdf......
  • 介绍一个简易的MAUI安卓打包工具
    介绍一个简易的MAUI安卓打包工具它可以帮助进行MAUI安卓的打包。虽然也是用MAUI写的,但是只考虑了Windows版本,mac还不太会。没什么高级的功能,甚至很简陋,它能做的,只是节省你从MAUI官方文档复制命令行命令的时间开源地址:https://github.com/Yu-Core/MAUIAndroidReleaseTool......
  • Debian 11 (bullseye) 国内软件源
     本文整理了Debian11在国内的几个软件源。1.使用说明 一般情况下,将/etc/apt/sources.list文件中Debian默认的软件仓库地址和安全更新仓库地址修改为国内的镜像地址即可,比如将deb.debian.org和security.debian.org改为mirrors.xxx.com,并使用https访问,可使......