5.10版Ubuntu基本设置和中文系统安装指南
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 11
- 注册时间: 2005-07-19 10:13
5.10版Ubuntu基本设置和中文系统安装指南
本指南并非官方指南,但已通过实际安装逐一验证,安装后中文输入和字体设置一切正常。
主要内容参考了5.04版快速设置指南和论坛中newlad关于系统初级设置的帖子。
楼下有朋友提到的5.10版装完后没有scim-pinyin包和字体的问题,只要在源中保留5.04的源即可解决。
一.修改源,并刷新当前软件包的列表:
1.备份源文件
sudo cp /etc/apt/sources.list /etc/apt/sources.list.orig
2.修改源文件
sudo gedit /etc/apt/sources.list
在编辑器里,删除所有东西,并加上下面的行:
deb http://archive.ubuntu.com/ubuntu/ breezy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ breezy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ breezy-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu/ breezy main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu/ breezy-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu/ breezy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ breezy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ breezy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ breezy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu breezy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu breezy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu breezy-updates main restricted universe multiverse
#下面的是5.04的源,但新人指引里面的一些软件包这里才有
deb http://archive.ubuntu.org.cn/ubuntu hoary main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn hoary main universe multiverse restricted
deb http://archive.ubuntu.org.cn/ubuntu hoary-backports main universe multiverse restricted
deb http://archive.ubuntu.org.cn/backports hoary-extras main universe multiverse restricted
保存,关闭编辑器。
3.刷新软件包的列表
sudo apt-get update
二.升级系统
sudo apt-get dist-upgrade
该命令与sudo apt-get upgrade命令均可升级系统,但dist-upgrade可以自动解决冲突。
三.设置本地local环境
sudo dpkg-reconfigure locales
四.安装中文语言支持:
sudo apt-get install language-pack-zh
sudo apt-get install language-pack-zh-base
sudo apt-get install language-support-zh
五.安装中文字体:
sudo apt-get install ttf-arphic-newsung
sudo apt-get install ttf-vera-yuan
六.安装SCIM输入法:
sudo apt-get install scim
sudo apt-get install scim-gtk2-immodule
sudo apt-get install scim-modules-socket
sudo apt-get install scim-modules-table
sudo apt-get install scim-pinyin
sudo apt-get install scim-tables-zh
sudo apt-get install scim-input-pad
sudo sh -c " echo 'export XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE="scim" ; scim -d ' > /etc/X11/Xsession.d/95xinput "
sudo chmod +755 /etc/X11/Xsession.d/95xinput
七.设置LC_ALL和其它属性:
sudo gedit /etc/environment
在编辑器里,将内容修改如下:
LANGUAGE="zh_CN:zh:en_US:en"
LC_ALL=zh_CN.UTF-8
LANG=zh_CN.UTF-8
GST_ID3_TAG_ENCODING=GBK
保存,关闭编辑器。
完毕。
主要内容参考了5.04版快速设置指南和论坛中newlad关于系统初级设置的帖子。
楼下有朋友提到的5.10版装完后没有scim-pinyin包和字体的问题,只要在源中保留5.04的源即可解决。
一.修改源,并刷新当前软件包的列表:
1.备份源文件
sudo cp /etc/apt/sources.list /etc/apt/sources.list.orig
2.修改源文件
sudo gedit /etc/apt/sources.list
在编辑器里,删除所有东西,并加上下面的行:
deb http://archive.ubuntu.com/ubuntu/ breezy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ breezy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ breezy-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu/ breezy main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu/ breezy-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu/ breezy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ breezy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ breezy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ breezy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu breezy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu breezy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu breezy-updates main restricted universe multiverse
#下面的是5.04的源,但新人指引里面的一些软件包这里才有
deb http://archive.ubuntu.org.cn/ubuntu hoary main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn hoary main universe multiverse restricted
deb http://archive.ubuntu.org.cn/ubuntu hoary-backports main universe multiverse restricted
deb http://archive.ubuntu.org.cn/backports hoary-extras main universe multiverse restricted
保存,关闭编辑器。
3.刷新软件包的列表
sudo apt-get update
二.升级系统
sudo apt-get dist-upgrade
该命令与sudo apt-get upgrade命令均可升级系统,但dist-upgrade可以自动解决冲突。
三.设置本地local环境
sudo dpkg-reconfigure locales
四.安装中文语言支持:
sudo apt-get install language-pack-zh
sudo apt-get install language-pack-zh-base
sudo apt-get install language-support-zh
五.安装中文字体:
sudo apt-get install ttf-arphic-newsung
sudo apt-get install ttf-vera-yuan
六.安装SCIM输入法:
sudo apt-get install scim
sudo apt-get install scim-gtk2-immodule
sudo apt-get install scim-modules-socket
sudo apt-get install scim-modules-table
sudo apt-get install scim-pinyin
sudo apt-get install scim-tables-zh
sudo apt-get install scim-input-pad
sudo sh -c " echo 'export XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE="scim" ; scim -d ' > /etc/X11/Xsession.d/95xinput "
sudo chmod +755 /etc/X11/Xsession.d/95xinput
七.设置LC_ALL和其它属性:
sudo gedit /etc/environment
在编辑器里,将内容修改如下:
LANGUAGE="zh_CN:zh:en_US:en"
LC_ALL=zh_CN.UTF-8
LANG=zh_CN.UTF-8
GST_ID3_TAG_ENCODING=GBK
保存,关闭编辑器。
完毕。
上次由 wangdayi 在 2005-10-20 9:09,总共编辑 6 次。
- Tenyears
- 帖子: 2245
- 注册时间: 2005-06-30 15:46
- 来自: 成都
- Tenyears
- 帖子: 2245
- 注册时间: 2005-06-30 15:46
- 来自: 成都
- kopera
- 帖子: 52
- 注册时间: 2005-06-14 1:25
- 来自: 南华大学
-
- 帖子: 55
- 注册时间: 2005-10-18 13:12
-
- 帖子: 142
- 注册时间: 2005-10-03 3:30
- 联系:
-
- 帖子: 117
- 注册时间: 2005-05-03 9:51