5.22.1 通过源码编译升级软件包

  1. 安装公钥:sudo apt install debian-keyring #开发者公钥
  2. 安装依赖:sudo apt build-dep XXX
  3. 下载源码:apt source XXX
  4. 替换源码或修改源码
  5. 重新编译:cd 源码目录 && dpkg-buildpackage -rfakeroot -uc -b
  6. 覆盖安装:sudo dpkg -i *.deb第5步执行之前,可能需要先安装制作工具:sudo apt install fakeroot dh-make
Copyright © DOSU community 2020 all right reserved,powered by Gitbook该文章修订时间: 2020-09-12 12:06:10

results matching ""

    No results matching ""