# 添加 archlinuxCN 源
sudo nano /etc/pacman.conf
1
在文件底部加入如下几行
[archlinuxcn]
SigLevel = Optional TrustAll
Server = http://repo.archlinuxcn.org/$arch
1
2
3
2
3
或者(USTC)
[archlinuxcn]
SigLevel = Optional TrustAll
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
1
2
3
2
3
或者(163)
[archlinuxcn]
SigLevel = Optional TrustAll
Server = http://mirrors.163.com/archlinux-cn/$arch
1
2
3
2
3
# pacman 基本用法
https://site.douban.com/234383/widget/notes/16373827/note/528386068/ (opens new window)
# 开启 ssh
sudo pacman -Syu openssh
sudo systemctl start sshd
1
2
2
# 安装 rz/sz
sudo pacman -Syu lrzsz
1
# 安装中文输入法
sudo pacman -Syu fcitx-sogoupinyin fcitx-im fcitx-configtool
sudo nano ~/.xprofile
1
2
2
追加:
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
1
2
3
2
3