debtap 一个将deb包转换成pkg包的软件
当我们使用arch的时候,有时候网上下载软件发现只有deb包,这时候就需要debtap了。
- 首先
aruman -S debtap
安装debtap - 然后
debtap [options] package_filename
,默认的话可以直接debtap package_filename.deb
- 如果第一次运行会提示
Error: You must run at least once "debtap -u" with root privileges (preferably recently), before running this script
这时候只需要执行debtap -u
就行了(在这个过程中我遇到了网速非常慢的情况,可能是服务器问题,不用管,让它自己执行就行了)。
4.最后执行第2步,就打包完成啦
转换完成后,使用pacman -U xxx.pkg.tar.gz
进行安装
附上debtap项目的github地址: https://github.com/helixarch/debtap