安装

1
sudo apt install language-pack-zh-hans

配置 /etc/locale.gen放开注释

1
zh_CN.UTF-8 UTF-8

执行

1
2
sudo locale-gen
sudo update-locale LANG=zh_CN.UTF-8