欢迎您访问Ubuntu Linux怎么安装中文输入法 本站旨在为大家提供生活常识类资讯
当前位置:首页 > 网络科技 > 电脑常识

Ubuntu Linux怎么安装中文输入法

电脑常识2021-03-30
Ubuntu上的输入法主要有小小输入平台(支持拼音/二笔/五笔等),Fcitx,Ibus,Scim等。其中Scim和Ibus是输入法框架。在Ubuntu的中文系统中自带了中文输入法,通过Ctrl+Space可切换中英文输入法。这里搜小知识小编为大家介绍下Ubuntu Linux安装中文输入法的方法。

  Ubuntu Linux怎么安装中文输入法

Ubuntu Linux怎么安装中文输入法 第1张

  Linux中文输入一直是个问题,参考Unbuntu中文官方网站的方法,安装成功。过程如下:

  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'

  看过“ Ubuntu Linux怎么安装中文输入法 ”的人还看了: