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-ndk或chromium)的安装时间较长。 其原因是压缩。 安装过程如下:
- Download package
- Build package with makepkg
- Download sources
- Build package
- Compress package into a .pkg.tar.xz archive
- Uncompress archive in order to install it
- Install package
- 下载包
- 用makepkg构建软件包
- 下载资源
- 构建包
- 将包压缩成.pkg.tar.xz档案
- 解压缩档案以进行安装
- 安装套件
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下载速度太慢