sh/ubuntu-lang.sh
2025-01-10 13:49:09 +08:00

5 lines
164 B
Bash

#!/bin/bash
apt update && sudo apt upgrade -y
apt install language-pack-zh-hans fonts-noto-cjk
locale-gen zh_CN.UTF-8
echo "LANG=zh_CN.UTF-8" | tee /etc/locale.conf