Arch Linux 启用 archlinuxcn 源

本贴最后更新于 1739 天前,其中的信息可能已经事过景迁

Arch Linux 启用 archlinuxcn 源

1. 编辑 /etc/pacman.conf 文件

编辑 /etc/pacman.conf 文件,在此文件最后添加下面几行配置。(编辑此文件需要管理员权限即 sudo 命令)。

[archlinuxcn]
Include = /etc/pacman.d/archlinuxcn-mirrorlist

2. 添加 archlinuxcn-mirrorlist 文件

在上一步我们已经告诉了包管理器我们的 archlinuxcn 库的资源文件在 /etc/pacman.d/archlinuxcn-mirrorlist,所以我们现在就需要把相应的镜像站服务器信息填写进去。

##
## Arch Linux CN community repository mirrorlist
## Generated on 2019-12-03
##

## Our main server (ipv4, ipv6, http, https)
#Server = https://repo.archlinuxcn.org/$arch

## 中国科学技术大学 (ipv4, ipv6, http, https)
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch

## 上海科技大学 (上海) (ipv4, http, https)
#Server = https://mirrors-wan.geekpie.club/archlinuxcn/$arch

## 网易 (ipv4, http, https)
Server = https://mirrors.163.com/archlinux-cn/$arch

## 腾讯云 (ipv4, https)
Server = https://mirrors.cloud.tencent.com/archlinuxcn/$arch

## 重庆大学 (ipv4, http, https)
Server = https://mirrors.cqu.edu.cn/archlinuxcn/$arch

## SJTUG 软件源镜像服务 (ipv4, https)
#Server = https://mirrors.sjtug.sjtu.edu.cn/archlinux-cn/$arch

## 莞工 GNU/Linux 协会 开源软件镜像站 (ipv4, http, https)
#Server = https://mirrors.dgut.edu.cn/archlinuxcn/$arch

## 清华大学 (ipv4, ipv6, http, https)
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch

## 浙江大学 (浙江杭州) (ipv4, ipv6, http, https)
Server = https://mirrors.zju.edu.cn/archlinuxcn/$arch

## xTom (Hong Kong server) (Hong Kong) (ipv4, ipv6, http, https)
#Server = https://mirror.xtom.com.hk/archlinuxcn/$arch

## xTom (US server) (US) (ipv4, ipv6, http, https)
#Server = https://mirror.xtom.com/archlinuxcn/$arch

## xTom (Netherlands server) (Netherlands) (ipv4, ipv6, http, https)
#Server = https://mirror.xtom.nl/archlinuxcn/$arch

## Open Computing Facility, UC Berkeley (Berkeley, CA, United States) (ipv4, ipv6, http, https)
#Server = https://mirrors.ocf.berkeley.edu/archlinuxcn/$arch

相关帖子

欢迎来到这里!

我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。

注册 关于
请输入回帖内容 ...