Ubuntu Linux中文输入法scim安装教程

发布时间:2020-02-29编辑:脚本学堂
本文介绍了ubuntu下中文输入法scim的安装方法,有需要的朋友参考下。

教大家在ubuntu下安装scim中文输入方法的方法(专题教程:ubuntu输入法切换安装设置教程),步骤如下:

一,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 breezy-updates main restricted
deb-src 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 breezy main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src 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
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'。