[Others] 分享几个打包和解包deb的简单脚本
Tofloor
poster avatar
lizipeng0013
deepin
2023-06-23 03:27
Author

deb打包和解包自用脚本.zip

参考:[经验分享] 重新打包deb

手动一条条命令还是有点麻烦,刚好我自己也需要,现在共享出来,对需要的人也有帮助

解包deb分为普通的和zstd专用(需安装zstd)两个脚本,zstd的解包后可以再用打包脚本打包为deepin支持的格式

解包普通deb:

1.gif

解包zstd压缩的deb:

2.gif

打包deb:

3.gif


补充:转换ZSTD压缩的DEB到普通DEB.zip

Reply Favorite View the author
All Replies
hanzn-zzx
deepin
2023-06-23 03:35
#1

like

Reply View the author
阿尼樱奈奈
Moderator
2023-06-23 03:36
#2

applaud like

Reply View the author
青稚
Moderator
2023-06-23 03:58
#3

like

Reply View the author
lizipeng0013
deepin
2023-06-23 04:16
#4

打包脚本有点小问题,再上传一个修复小问题的版本:deb打包和解包自用脚本.zip

Reply View the author
蔡EEPIN
deepin
2023-06-23 04:34
#5

2023-06-22_19-32.png

kde可以直接解压deb。 但是打包就不行了😃

Reply View the author
Tonny
deepin
2023-06-23 04:57
#6
It has been deleted!
MMHMM
deepin
2023-06-23 06:56
#7

like

优秀!继续努力,做个ui

Reply View the author
doodo
deepin
2023-06-23 21:46
#8
It has been deleted!
lizipeng0013
deepin
2023-06-24 20:25
#9

打包deb脚本(更新版).zip

修正了打包文件名重构(默认文件名)的问题。当control文件中每一行的字段名(如Version: )在冒号后未添加空格时,会导致生成文件名异常,现在的版本无论有没有空格都可以正确提取,正常重构文件名。

Reply View the author
zizdong
deepin
Forum Operations
2023-06-28 00:52
#10

有没兴趣来帮忙培训人打包哈哈,有奖的

Reply View the author
阿白
deepin
2023-06-28 00:58
#11
zizdong

有没兴趣来帮忙培训人打包哈哈,有奖的

小白想学习,求大佬带

Reply View the author
zizdong
deepin
Forum Operations
2023-06-28 01:15
#12
阿白

小白想学习,求大佬带

可以,私信我

Reply View the author
k***[email protected]
deepin
2023-08-19 03:08
#13

能否做个ui出来 选择解包完毕以后 然后再选择打包 哈哈 然后我就可以解包别的格式 打包成deb 比如pet 或者rpg 都可以解包 完美

Reply View the author
爱开发
deepin
2023-08-19 04:46
#14

mark,有空尝试用rust封装一下看看

Reply View the author