Ubuntu使用apt-get install安装程序下载速度慢?apt-fast加速下载。

目录

前言:

安装方法:

使用方法:

可能出现的问题:


前言:

受到各种因素影响,有时ubuntu使用sudo apt-get install xx安装程序,在下载软件的时候会出现下载速度过慢的问题。

解决办法:通过安装apt-fast代替apt-get,可以使下载的速度有显著的提升。

解释:apt-fast采用aria2下载工具,可以通过增加线程的方式来加速apt-get/apt等命令。详细信息,可以参考https://wiki.ubuntu.org.cn/Apt-fast

安装方法:

ubuntu 11.04~13.10版本:

sudo apt-get install axel aria2
sudo apt-add-repository ppa:apt-fast/stable
sudo apt-get update
sudo apt-get install apt-fast

ubuntu 14.04及之后版本:

sudo add-apt-repository ppa:saiarcot895/myppa
sudo apt-get update
sudo apt-get install apt-fast
sudo apt-get -y install apt-fast

在安装的过程中配置apt-fast:选择apt-get。

链接数可以选5~16之间,推荐选择16.

会话框随便选择,推荐选择否。

到这,apt-fast就算安装成功。

使用方法:

sudo apt-fast install xx

例如:更新

sudo apt-fast update

当然,apt-get命令也是可以使用的。

可能出现的问题:

没有add-apt-repository

解决办法:安装python-software-properties

sudo apt-get install software-properties-common
sudo apt-get update
发布了1 篇原创文章 · 获赞 1 · 访问量 55

猜你喜欢

转载自blog.csdn.net/qq_39709813/article/details/105596485
今日推荐