我的Linux日记[一]: 让Ubuntu完全支持中文

本文在署名-非商业性使用-相同方式共享 3.0版权协议下发布, 转载请注明出自aifreedom.com

  1. 我的Linux日记[一]: 让Ubuntu完全支持中文
  2. 我的Linux日记[二]: 重启后设备无法正常工作
  3. 我的Linux日记[三]: 系统为何无法启动
  4. 我的Linux日记[四]: 在Linux下播放多媒体文件
  5. 我的Linux日记[五]: bash的小技巧

现在终于有时间来好好研究Linux了. 看到从当当买回的那一盒FC 5, 想起前不久FC 8都发布了, 才发现时间过的好快, 而我对Linux却依然陌生. 我会在这个系列日志中记录我学习Linux的过程, 是以时间为线索贯穿的. 而对某些问题的深入研究, 我会在之后以专题的形式记下, 当然, 前提是我已经研究清楚了. 从ubuntu的网站上下载了最新的镜像, 刻录, 安装, 结果卡住了... 因为家里老的那台电脑内存太小(224M), 而ubuntu-7.10-desktop-i386.iso的是在LiveCD下安装的, 至少需要256M内存. 要用字符安装只能重新去下载ubuntu-7.10-alternate-i386.iso的镜像,我懒.. 最终还是在另一台配置好的电脑上装了.. (后来发现alternate的安装界面其实也很友好的, 内存小了的话用这个很好的.) 重新分区, 安装的过程很顺利, 只是进度到100%后便再也无变化, 其实已经安装好了, 直接重启就可以. 可是进入ubuntu之后无法用pppoe拨号, 在我设置网络的过程中发生了一些灵异事件, 后面会再次说到. 恩.. 现在有网上了, 但我发发现scim里没有中文输入法, 而系统菜单里的Language Support里也没有Chinese可选, apt-get的源里也没有language-support-zh下载. 还好有网络, 还好有在线输入法, 让我能用google找到我要的答案. 在终端里输入

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list

把现有的源列表备份了, 然后把新的源复制进去. 这是cn99的源, 是电信的网络, 推荐电信的用户使用.

deb http://ubuntu.cn99.com/ubuntu gutsy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-updates main restricted universe multiverse

这是ubuntu中国官方源, 服务器位于上海, 也是中国电信的网络.

deb http://cn.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse

网通的用户可以使用台湾的源, 速度如何我无法测试. 台湾大学的源

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-updates main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-updates main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-backports main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-backports main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-security main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-security main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu gutsy-proposed main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu gutsy-proposed main restricted universe multiverse

ubuntu 台湾官方源(服务器实际上也是位于台湾大学的)

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu gutsy-proposed main restricted universe multiverse

还有一个ubuntu-cn的源, 不知有什么用, 据说很重要, 可以用cn99的.

deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse

设置完之后再在终端更新源内容.

sudo apt-get update

这时再输入

sudo apt-get install language-support-zh

就可以更新中文支持了. 重启之后(这个我记不请了), scim就有中文输入法了, 各种菜单也都变成中文的了.

您可能还喜欢:

Thursday, January 17th, 2008 at 01:33
  • Jan 17th, 2008 at 05:54 | #1

    ubuntu当时让我囧死了...我不用了=.=

  • Jan 18th, 2008 at 00:00 | #2

    @sqybi 解决问题挺有趣的, Linux的可定制性太强了, 除了麻烦点什么都好.

    BTW, 我明白了我的网卡是怎么在闹鬼的了, 想知道的话看我后面的Linux日记吧.

  • o0air0o
    Jan 18th, 2008 at 20:48 | #3

    神啊,这是通天塔原有的语言吗

  • chilling
    Jan 20th, 2008 at 23:22 | #4

    太强了,虽然我不懂```

  • Mar 24th, 2009 at 20:56 | #5

    好信息,谢谢了

Leave a comment

XHTML: 您可以在评论中使用这些标签: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped=""> 下面的按钮可以帮助您快速添加标签.

公式支持: 评论支持 LaTeX 公式, 请在式子两端添加"$$"标签. 点击右边的笑脸在评论中添加表情.

头像: 想在留言时显示自定义头像, 请查看 Gravatar 使用指南.

emoticons