可能很多人在购买国外VPS的时候会发现一些商家默认安装的系统不支持中文,这边就记录一下如何在英文版ubuntu16.04上安装中文语言包

安装中文语言包

apt install language-pack-zh-han*

这边language-pack-zh-han*意思是安装以下几个包:

language-pack-zh-hans 简体中文
language-pack-zh-hans-base
language-pack-zh-hant 繁体中文
language-pack-zh-hant-base

编辑locale

vim /etc/default/locale

在当前的LANG后面加上.UTF-8

Last modification:November 15th, 2018 at 09:33 am
If you think my article is useful to you, please feel free to appreciate