Myuu’s Trashcan  

pacman-pkg

pacmanの設定

MemoDevArchLinuxLinux

Create2024-02-17 18:49:22
Last Update2024-02-19 11:03:53


ミラー最適化

reflectorを使い高速なミラーへ変更

pacman -S reflector
reflector -c JP -p https -p http --sort rate --save /etc/pacman.d/mirrorlist

ラッパー yay を使う

AURを併せて使える

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

paruのほうが新しいらしい

git clone https://github.com/Morganamilo/paru
cd paru
makepkg -si

プログレスバーをpacmanに

/etc/pacman.conf[options]に追加

[options]
ILoveCandy

aria2

ダウンローダーをaria2へ変更

pacman -S aria2

/etc/pacman.confに追加

XferCommand = /usr/bin/aria2c --allow-overwrite=true --continue=true --file-allocation=none --log-level=error --max-tries=2 --max-connection-per-server=2 --max-file-not-found=5 --min-split-size=5M --no-conf --remote-time=true --summary-interval=60 --timeout=5 --dir=/ --out %o %u