sh/ubuntu-lang.sh

5 lines
164 B
Bash
Raw Normal View History

2025-01-10 13:49:09 +08:00
#!/bin/bash
2025-01-10 13:48:43 +08:00
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