---
title: "Ubuntu Linux中文输入法（scim)安装"
author: "simon_zhang"
date: "2007-01-22T16:40:00Z"
tags: []
slug: "ubuntu-linux-scim"
draft: false
lastmod: "2007-01-22T16:40:00Z"
id: 64915
url: "https://mogee.iteye.com/blog/64915"
---

Linux中文输入一直是个问题，参考Unbuntu中文官方网站的方法：http://www.ubuntu.org.cn/support/documentation/guide/scim，安装成功。过程如下：

Step 1:

备份souce文件  
sudo cp /etc/apt/source.list /etc/apt/source.list\_backup

修改source.list内容  
\## Major bug fix updates produced after the final release of the  
\## distribution.  
deb [http://archive.ubuntu.com/ubuntu](http://archive.ubuntu.com/ubuntu) breezy-updates main restricted  
deb-src [http://archive.ubuntu.com/ubuntu](http://archive.ubuntu.com/ubuntu) breezy-updates main restricted

\## Uncomment the following two lines to add software from the "universe"  
\## repository.  
\## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  
\## team, and may not be under a free licence. Please satisfy yourself as to  
\## your rights to use the software. Also, please note that software in  
\## universe WILL NOT receive any review or updates from the Ubuntu security  
\## team.  
deb [http://archive.ubuntu.com/ubuntu](http://archive.ubuntu.com/ubuntu) breezy main universe multiverse restricted  
deb-src [http://archive.ubuntu.com/ubuntu](http://archive.ubuntu.com/ubuntu) breezy main universe multiverse restricted

deb [http://security.ubuntu.com/ubuntu](http://security.ubuntu.com/ubuntu) breezy-security main restricted  
deb-src [http://security.ubuntu.com/ubuntu](http://security.ubuntu.com/ubuntu) breezy-security main restricted

deb [http://security.ubuntu.com/ubuntu](http://security.ubuntu.com/ubuntu) breezy-security universe  
deb-src [http://security.ubuntu.com/ubuntu](http://security.ubuntu.com/ubuntu) breezy-security universe

Step 2:  
sudo apt-get update

sudo apt-get dist-upgrade

sudo apt-get --purge remove portmap

sudo apt-get install language-pack-gnome-zh language-pack-gnome-zh-base language-pack-zh language-pack-zh-base language-support-zh

sudo apt-get install scim  
sudo apt-get install scim-chinese  
sudo apt-get install scim-config-socket  
sudo apt-get install scim-gtk2-immodule  
sudo apt-get install scim-tables-zh  
wget -c [http://www.study-area.org/apt/firefly-font/fireflysung-1.3.0.tar.gz](http://www.study-area.org/apt/firefly-font/fireflysung-1.3.0.tar.gz)  
sudo tar zxvf fireflysung-1.3.0.tar.gz -C /usr/share/fonts/truetype/  
sudo chown -R root:root /usr/share/fonts/truetype/fireflysung-1.3.0/  
sudo fc-cache -f -v

Step 3:

重启linux，scim生效，要启动 SCIM，按下 "Ctrl + Space"