Linux 配置中文環境


系統升級

換源

更新軟件源和軟件包

  1. sudo apt update && sudo apt upgrade -y

配置中文環境

  1. 安裝中文語言包

sudo apt install -y language-pack-zh-hans language-pack-zh-hans-base

  1. 設置本地環境變量

echo "LANG=zh_CN.UTF-8" >> ~/.profile

  1. 重啟

reboot

ubuntu 中 man 顯示中文

  1. 安裝 man 工具

sudo apt-get install manpages-posix manpages-posix-dev

  1. 安裝 man 中文語言包

sudo apt-get install manpages-zh


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM