yaourt下载速度太慢_加快Yaourt软件包的安装速度

yaourt下载速度太慢

If you use the Yaourt package installer on Arch Linux, you’re probably aware of the long install times of certain large packages like android-ndk or chromium. The reason for this is the compression. The install process goes something like this:

如果在Arch Linux上使用Yaourt软件包安装程序,您可能会意识到某些大型软件包(如android-ndkchromium)的安装时间较长。 其原因是压缩。 安装过程如下:

  1. Download package
  2. Build package with makepkg
  3. Download sources
  4. Build package
  5. Compress package into a .pkg.tar.xz archive
  6. Uncompress archive in order to install it
  7. Install package
  1. 下载包
  2. makepkg构建软件包
  3. 下载资源
  4. 构建包
  5. 将包压缩成.pkg.tar.xz档案
  6. 解压缩档案以进行安装
  7. 安装套件

Notice something? The step that takes by far the longest (compressing the package) is totally unnecessary because the package is uncompressed again in the next steps.

有事吗 到目前为止,花费最长时间的步骤(压缩程序包)是完全不必要的,因为在接下来的步骤中将再次对程序包进行解压缩。

The archive extension is configurable though. Add the following line to your ~/.yaourtrc:

归档扩展名是可配置的。 将以下行添加到您的〜/ .yaourtrc中


PKGEXT=.pkg.tar

翻译自: https://www.pybloggers.com/2016/10/speeding-up-yaourt-package-installs/

yaourt下载速度太慢

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值