我也是先安装缺省的英文环境,然后添加中文支持。以下是我安装中文支持软件的步骤。希望对你有所帮助。
Package Repositories
====================
The default Ubuntu install only includes the main and the restricted components in /etc/apt/sources.list. However, the other two 才components, universe and multiverse, can be very useful to us. We'll need them in the following steps.
1. Edit sources.list
$ sudo su -
# cp -p /etc/apt/sources.list /etc/apt/sources.list.orig
# vi /etc/apt/sources.list
Add the universe and multiverse components to /etc/apt/sources.list:
deb
http://cn.archive.ubuntu.com/ubuntu hoary universe
deb-src
http://cn.archive.ubuntu.com/ubuntu hoary universe
deb
http://cn.archive.ubuntu.com/ubuntu hoary multiverse
deb-src
http://cn.archive.ubuntu.com/ubuntu hoary multiverse
deb
http://security.ubuntu.com/ubuntu hoary-security universe
deb-src
http://security.ubuntu.com/ubuntu hoary-security universe
deb
http://security.ubuntu.com/ubuntu hoary-security multiverse
deb-src
http://security.ubuntu.com/ubuntu hoary-security multiverse
2. Fetch the package index files:
# aptitude update
Chinese
=======
- Install Chinese language packs
$ sudo aptitude install language-pack-zh language-pack-zh-base \
language-support-zh
- Install scim
$ sudo aptitude install scim scim-chinese scim-config-socket \
scim-frontend-socket scim-gtk2-immodule scim-server-socket scim-tables-zh
Type set-m17n-env as a normal user to setup m17n environment:
$ set-m17n-env
安装设置完毕后,记得重启一次X、甚至操作系统。