http://ppa.launchpad.net 太慢?试下这个 
                                                    
                        
                    
                    
  
                    
                    背景
最近换了新电脑 但是家里网不好 装PHP扩展时总是提示安装失败,网络错误。而且绝大部分是发生在http://ppa.launchpad.net这个网址。解决方案:
安装软件
sudo apt-get install axelsudo axel -o /usr/bin/apt-fast http://www.mattparnell.com/linux/apt-fast/apt-fast.shsudo chmod +x /usr/bin/apt-fast
使用
之前的apt 直接换成 apt-fast 即可。
如 sudo apt install xxx
转换执行 sudo apt-fast install xxx.
本作品采用《CC 协议》,转载必须注明作者和本文链接
 
           南城以南 的个人博客
 南城以南 的个人博客
         
             
           
           关于 LearnKu
                关于 LearnKu
               
                     
                     
                     粤公网安备 44030502004330号
 粤公网安备 44030502004330号 
 
第二个命令报错
http://www.mattparnell.com/这个网址挂了。 可以参照https://my.oschina.net/u/2615687/blog/615438的方案 抄录如下目前已经换
manjaro很香。