Installing yaourt and set a fastest mirror

'yaourt' is the main reason that I stick to Arch Linux, so I couldn't wait to install it.

First you need to add these lines to the bottom of /etc/pacman.conf:

[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = http://repo.archlinuxcn.org/$arch

Note: adding these lines into /etc/pacman.d/mirrorlist won't work, and will result the pacman stop working.

 

Then you need to select a best mirror. For me, the best choice is obviously this one:

Server = http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch

Because it's located in my campus! Leaving only one entry is usualy a good idea, because it's faster, choose the best one for yourself!

posted on 2015-05-12 02:00  victl  阅读(332)  评论(0)    收藏  举报

导航