安装 apt-fast 工具在 Ubuntu Linux 14.04 或者尝试下面的命令:$ sudo add-apt-repository ppa:saiarcot895/myppa更新仓库:$ sudo apt-get update或者$ sudo apt update安装 apt-fast:$ sudo apt-get -y install apt-fast或者$ sudo apt -y install apt-fastReading package lists... DoneBuilding dependency treeReading state information... DoneThe following additional packages will be installed:  aria2 libc-ares2 libssh2-1Suggested packages:  aptitudeThe following NEW packages will be installed:  apt-fast aria2 libc-ares2 libssh2-10 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.Need to get 1,282 kB of archives.After this operation, 4,786 kB of additional disk space will be used.Do you want to continue? [Y/n] yGet:1 http://01.archive.ubuntu.com/ubuntu xenial/universe amd64 libssh2-1 amd64 1.5.0-2 [70.3 kB]Get:2 http://ppa.launchpad.net/saiarcot895/myppa/ubuntu xenial/main amd64 apt-fast all 1.8.3~137 git7b72bb7-0ubuntu1~ppa3~xenial1 [34.4 kB]Get:3 http://01.archive.ubuntu.com/ubuntu xenial/main amd64 libc-ares2 amd64 1.10.0-3 [33.9 kB]Get:4 http://01.archive.ubuntu.com/ubuntu xenial/universe amd64 aria2 amd64 1.19.0-1build1 [1,143 kB]54% [4 aria2 486 kB/1,143 kB 42%]                                    20.4 kB/s 32s配置 apt-fast您将得到以下提示(必须输入5到16的值):(图1),然后单击YES您还可以直接编辑设置:$ sudo vi /etc/apt-fast.conf请注意,该工具不连接到慢速网络,它连接到快速网络。假如你的网速慢,那么你就无法从这个工具中受益。如果你的网速慢,你将无法从这个工具中受益。如何使用? apt-fast 命令?语法是:$ apt-fast command$ apt-fast [options] command使用 apt-fast 取回新的包列表:$ sudo apt-fast update使用 apt-fast 执行升级:$ sudo apt-fast upgrade升级发行版(发布或强制内核升级),输入:$ sudo apt-fast dist-upgrade安装新的包 $ sudo apt-fast install pkg比如要安装 nginx,输入:$ sudo apt-fast install nginx删除包:$ sudo apt-fast remove pkg$ sudo apt-fast remove nginx删除包及其配置文件:$ sudo apt-fast purge pkg$ sudo apt-fast purge nginx删除所有未使用的包:$ sudo apt-fast autoremove下载源码包:$ sudo apt-fast source pkgNameHere清理下载的文件:$ sudo apt-fast clean清理旧下载文件:$ sudo apt-fast autoclean验证无破坏依赖性:$ sudo apt-fast check将二进制包下载到当前目录:$ sudo apt-fast download pkgNameHere$ sudo apt-fast download nginx[#7bee0c 0B/0B CN:1 DL:0B]07/26 15:35:42 [NOTICE] Verification finished successfully. file=/home/vivek/nginx_1.10.0-0ubuntu0.16.04.2_all.deb07/26 15:35:42 [NOTICE] Download complete: /home/vivek/nginx_1.10.0-0ubuntu0.16.04.2_all.debDownload Results:gid   |stat|avg speed  |path/URI====== ==== =========== =======================================================7bee0c|OK  |        n/a|/home/vivek/nginx_1.10.0-0ubuntu0.16.04.2_all.debStatus Legend:(OK):download completed.下载并显示指定包 changelog:$ sudo apt-fast changelog pkgNameHere$ sudo apt-fast changelog nginx