http://ppa.launchpad.net 太慢?试下这个

背景

最近换了新电脑 但是家里网不好 装PHP扩展时总是提示安装失败,网络错误。而且绝大部分是发生在
http://ppa.launchpad.net这个网址。解决方案:

安装软件

sudo apt-get install axel
sudo axel -o /usr/bin/apt-fast http://www.mattparnell.com/linux/apt-fast/apt-fast.sh
sudo chmod +x /usr/bin/apt-fast

使用

之前的apt 直接换成 apt-fast 即可。
sudo apt install xxx
转换执行 sudo apt-fast install xxx.

本作品采用《CC 协议》,转载必须注明作者和本文链接
风起于青萍之末 浪成于微澜之间
南城以南
讨论数量: 2

第二个命令报错

Unable to connect to server www.mattparnell.com:80
2年前 评论
南城以南

http://www.mattparnell.com/ 这个网址挂了。 可以参照 https://my.oschina.net/u/2615687/blog/615438的方案 抄录如下

sudo add-apt-repository ppa:tldm217/tahutek.net
sudo apt-get update
sudo apt-get install apt-fast

目前已经换manjaro 很香。

2年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!