Hai mai dovuto installare molti aggiornamenti? E ci metti molto tempo? Mantenere i nostri sistemi sempre aggiornati è importante, ma è anche importante risparmiare tempo e ottimizzare il nostro lavoro.
Apt-fast è uno script che consente di estrarre ogni pacchetto da più posizioni durante il download. Questo a sua volta porta a un download più rapido di tutti i pacchetti e questo porta a un completamento più rapido del nostro lavoro di aggiornamento e installazione dei pacchetti.
Per prima cosa, aggiungiamo il repository, scarichiamo e installiamo l'app velocemente
sudo add-apt-repository ppa:apt-fast/stable
sudo apt-get update
sudo apt-get install apt-fast
Code language: JavaScript (javascript)
Ora puoi usarlo proprio come apt-get o apt
sudo apt-fast update
sudo apt-fast upgrade
sudo apt-fast dist-update
Ecco l'output di apt-fast installando bmon
root@webleit:~# apt-fast install bmon
bmon 1:4.0-6 45KiB
libconfuse2 3.2.2+dfsg-1 24KiB
libconfuse-common 3.2.2+dfsg-1 5.4KiB
libnl-route-3-200 3.4.0-1 146KiB
Download size: 219KiB
Do you want to download the packages? [Y/n]
02/20 17:07:47 [NOTICE] Downloading 4 item(s)
02/20 17:07:47 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/libconfuse2_3.2.2+dfsg-1_amd64.deb
02/20 17:07:47 [NOTICE] Download complete: /var/cache/apt/apt-fast/libconfuse2_3.2.2+dfsg-1_amd64.deb
02/20 17:07:47 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/libnl-route-3-200_3.4.0-1_amd64.deb
02/20 17:07:47 [NOTICE] Download complete: /var/cache/apt/apt-fast/libnl-route-3-200_3.4.0-1_amd64.deb
02/20 17:07:47 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/libconfuse-common_3.2.2+dfsg-1_all.deb
02/20 17:07:47 [NOTICE] Download complete: /var/cache/apt/apt-fast/libconfuse-common_3.2.2+dfsg-1_all.deb
02/20 17:07:47 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/bmon_1%3a4.0-6_amd64.deb
02/20 17:07:47 [NOTICE] Download complete: /var/cache/apt/apt-fast/bmon_1%3a4.0-6_amd64.deb
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
a26dfb|OK | 5.6MiB/s|/var/cache/apt/apt-fast/libconfuse2_3.2.2+dfsg-1_amd64.deb
adf53e|OK | 10MiB/s|/var/cache/apt/apt-fast/libnl-route-3-200_3.4.0-1_amd64.deb
977019|OK | 2.6MiB/s|/var/cache/apt/apt-fast/libconfuse-common_3.2.2+dfsg-1_all.deb
77f61e|OK | 5.4MiB/s|/var/cache/apt/apt-fast/bmon_1%3a4.0-6_amd64.deb
Status Legend:
(OK):download completed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libconfuse-common libconfuse2 libnl-route-3-200
The following NEW packages will be installed:
bmon libconfuse-common libconfuse2 libnl-route-3-200
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/224 kB of archives.
After this operation, 798 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Code language: Bash (bash)
Nel caso in cui durante il download un file vada in crash puoi usare il comando clean
sudo apt-fast clean
Il apt-fast il file di configurazione è: /etc/apt-fast.conf
, puoi aumentare ulteriormente le velocità di download aggiungendo più mirror e distribuendo il carico, assicurati di aggiungere i mirror più vicini.