Sunday, April 24, 2011

Install Chinese Support in Debain Squeeze

Install Unicode Fonts

apt-get install xfonts-intl-chinese xfonts-base unifont
apt-get install ttf-arphic-bkai00mp ttf-arphic-bsmi00lp
apt-get install ttf-arphic-gbsn00lp ttf-arphic-gkai00mp

Reconfigure locales
Install dpkg configure
Method 1

apt-get install gkdebconf

Applications -> System Tools -> GKDebConf
select locales in packages

Method 2

/usr/sbin/dpkg-reconfigure locales

Add the followings in the locale generation

* zh_TW BIG5 - 繁體中文(台灣),使用 Big5 碼。
* zh_TW.UTF-8 UTF-8 - 繁體中文(台灣),使用 UTF-8 碼。
* zh_HK.UTF-8 UTF-8 - 繁體中文(香港),使用 UTF-8 碼。
* zh_CN GB2312 - 簡體中文,使用 GB2312-80
* zh_CN.GBK GBK - 簡體中文,使用 GBK
* zh_CN.UTF-8 UTF-8 - 簡體中文,使用 GB18030

Then choose your default locale


1 comment:

Johnson said...

Thanks! great guide!
Is there a way to enlarge the chinese font (they appear too small in iceweasel + nautilus) without enlarging the english fonts?