日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
Ubuntu16.04中使用apt-fast具體方法

Apt-fast 是一款替代 apt-get 提升下載速度的軟件,安裝軟件時(shí),通過增加線程使下載軟件速度加快,下面為大家分享一下Ubuntu 16.04 中使用 apt-fast具體方法。

創(chuàng)新互聯(lián)公司主要從事網(wǎng)站建設(shè)、成都網(wǎng)站建設(shè)、網(wǎng)頁設(shè)計(jì)、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務(wù)。立足成都服務(wù)華陰,十年網(wǎng)站建設(shè)經(jīng)驗(yàn),價(jià)格優(yōu)惠、服務(wù)專業(yè),歡迎來電咨詢建站服務(wù):18982081108

安裝 apt-fast 工具

在 Ubuntu Linux 14.04 或者之后的版本嘗試下面的命令:

$ sudo add-apt-repository ppa:saiarcot895/myppa

Ubuntu 16.04 使用 apt-fast 提高效率Ubuntu 16.04 使用 apt-fast 提高效率

更新你的倉庫:

$ sudo apt-get update

或者

$ sudo apt update

Ubuntu 16.04 使用 apt-fast 提高效率Ubuntu 16.04 使用 apt-fast 提高效率

安裝 apt-fast:

$ sudo apt-get -y install apt-fast

或者

$ sudo apt -y install apt-fast
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
 aria2 libc-ares2 libssh2-1
Suggested packages:
 aptitude
The following NEW packages will be installed:
 apt-fast aria2 libc-ares2 libssh2-1
0 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] y
Get: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

你將會(huì)得到下面的提示(必須輸入一個(gè)5到16的數(shù)值):

Ubuntu 16.04 使用 apt-fast 提高效率Ubuntu 16.04 使用 apt-fast 提高效率

并且

Ubuntu 16.04 使用 apt-fast 提高效率Ubuntu 16.04 使用 apt-fast 提高效率

你也可以直接編輯設(shè)置:

$ sudo vi /etc/apt-fast.conf

請注意這個(gè)工具并不是給慢速網(wǎng)絡(luò)連接的,它是給快速網(wǎng)絡(luò)連接的。如果你的網(wǎng)速慢,那么你將無法從這個(gè)工具中得到好處。

該怎么使用 apt-fast 命令?

語法是:

$ apt-fast command
$ apt-fast [options] command

使用 apt-fast 取回新的包列表:

$ sudo apt-fast update

使用 apt-fast 執(zhí)行升級:

$ sudo apt-fast upgrade

執(zhí)行發(fā)行版升級(發(fā)布或者強(qiáng)制內(nèi)核升級),輸入:

$ sudo apt-fast dist-upgrade

安裝新的包

$ sudo apt-fast install pkg比如要安裝 nginx,輸入:$ sudo apt-fast install nginx

Ubuntu 16.04 使用 apt-fast 提高效率Ubuntu 16.04 使用 apt-fast 提高效率

刪除包:

$ 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

驗(yàn)證沒有破壞的依賴:

$ sudo apt-fast check

下載二進(jìn)制包到當(dāng)前目錄:

$ 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.deb
07/26 15:35:42 [NOTICE] Download complete: /home/vivek/nginx_1.10.0-0ubuntu0.16.04.2_all.deb
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
7bee0c|OK  |        n/a|/home/vivek/nginx_1.10.0-0ubuntu0.16.04.2_all.deb
Status Legend:
(OK):download completed.

下載并顯示指定包的 changelog:

$ sudo apt-fast changelog pkgNameHere
$ sudo apt-fast changelog nginx

文章題目:Ubuntu16.04中使用apt-fast具體方法
文章起源:http://www.5511xx.com/article/dhdigsj.html