红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

Ubuntu7.10添加中文支持

发布时间:2007-12-04 00:42:58来源:红联作者:lanterns
Ubuntu7.10(gutsy)安装完后虽然可以显示中文,但并不完全支持中文,最明显的表现就是没有中文输入法。本人安装中文支持颇费了点时间,呵呵,以前没接触过Ubuntu。

首先,为系统添加软件源,默认提供的功能有限,方法有两种:

1. “系统”->“系统管理”->“软件源”->“第三方软件”,点击“添加”,软件中有软件源的格式示例,也可以参考2中。

2. 编辑/etc/apt/sources.list,在末尾添加:[code] deb http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ gutsy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse[/code]其中,deb为软件源,deb-src为代码源。网上有还许多其他的软件源,如ubuntu.csie.ntu.edu.tw,ubuntu.cnsite.org,ftp.sjtu.edu.cn等,使用时只需替换上面的域名即可,本人使用的是ubuntu.cn99.com。

添加完软件源后,在终端中执行如下两条命令:
sudo apt-get update
sudo apt-get dist-upgrade

命令成功执行后,在“系统”->“系统管理”->“语言支持”中可以看到“Chinese”项,勾选该项系统自动完成相关配置。重启之后即可看到中文界面,同时中文输入法也已成功安装。

由于本人是使用代理上网的,在勾选“Chinese”项后系统提示无法下载相应的deb文件,于是又为系统配置代理服务器,结果还是不行,不知问题出在哪里。最后,只好使用杀手锏,下载所需deb文件手动安装,呵呵。终于看到了可爱的中文界面。
文章评论

共有 2 条评论

  1. 禹矢 于 2007-12-05 15:20:48发表:

    不错 搞好了:0wpoi2

  2. qiqixx 于 2007-12-04 16:58:13发表:

    谢谢楼主的分享!慢慢积累才能成为高手(e:e2s