Archlinux - A Non-Official Repository from Chinese Community

Table of Contents

Introducation

Archlinux is an excellent Linux distribution, which follows the principle of keep it simple and stupid (KISS) closely. Besides the official repositories, its Chinese community provides a non-official repository, a.k.a. ArchlinuxCN.

Configuration

Using the ArchlinuxCN can be completed by two steps.

  1. Append following lines to /etc/pacman.conf.

    [archlinuxcn]
    Server = https://repo.archlinuxcn.org/$arch
    

    Optionally, there are many mirrors, which can be found at https://github.com/archlinuxcn/mirrorlist-repo, e.g.,

    • Aliyun

      [archlinuxcn]
      Server = https://mirrors.aliyun.com/archlinuxcn/$arch
      
    • Netease

      [archlinuxcn]
      Server = https://mirrors.163.com/archlinux-cn/$arch
      
  2. Import the corresponding PGP keys by installing package archlinuxcn-keyring.

    pacman -S archlinuxcn-keyring