Compartilhando e Instalando pacotes por Rede
Instale o pkgdistcache
> yaourt -S pkgdistcache
ou
> git clone https://aur.archlinux.org/pkgdistcache.git
> cd pkgdistcache && makepkg
> sudo pacman -U pkgdistcache-0.4.5-1-any.pkg.tar.xz
Após a intalação vamos ativar os modos:
Modo Cliente:
Certificar-se de que avahi-daemon esta abilitado:
> sudo systemctl enable avahi-daemon
Edite /etc/pacman.conf, e cole a opção:
XferCommand = /usr/bin/pkgdistcache-client %u %o
Modo Servidor:
Iniciar e ativar servido
> sudo systemctl start pkgdistcache
> sudo systemctl enable pkgdistcache