在linux中安装google拼音输入法

载自:http://code.google.com/p/scim-googlepinyin/wiki/install 并修改了一些内容

 

install  
how to build and install scim-googlepinyin

    * Introduction
    * grab the source
    * build depends
    * runtime depends
    * build and install

Introduction

This document is intended to help you to build and install scim-googlepinyin from scratch.
grab the source

Scim-googlepinyin still has some critical bugs. And it is still under active development. I'd like to suggest you always try the latest version by:

 $ git clone git://github.com/tchaikov/scim-googlepinyin.git
 $ cd scim-googlepinyin.git

If the git command is not available in your system, you may want to install it to continue checking out the source.
build depends

You will need install following package before building this software:

    * automake
    * libtool
    * autotools-dev
    * libgtk2.0-dev
    * libscim-dev

Although these packages' names vary, they are available on most GNU/Linux distribution. On Debian or Ubuntu, following command should work for you.

 $ sudo aptitude install automake libtool autotools-dev libgtk2.0-dev libscim-dev

//建议经常使用aptitude而不是apt-get,因为前者在发现缺少依赖的时候会自动安装缺失的内容。昨天在配置android编译环境时因为需要安装libsdl-dev,妈的死活找不到依赖的包,我甚至都下了个deb包安装,结果也不行。到今天早上才看到一个帖子中用aptitude安装,果然解决了问题

runtime depends
    * scim

 $ sudo aptitude install scim

build and install
Following commands installs scim-googlepinyin into your system.

 $ ./autogen.sh
 $ make
 $ sudo make install
 
最后在scim中配置一下就好了,发现一个小大bug,就是候选字翻页后,候选字会向左偏移一位。试着将候选字个数由默认的8改为7后解决问题,不过候选字列表中还是显示9个字,这不影响什么。

你可能感兴趣的:(在linux中安装google拼音输入法)