Linux下安装Google拼音输入法

CentOS 5中自带输入法平台的是SCIM,Fedora 10以后自带的是iBUS,但是使用起来还是没有sogou,谷歌输入法舒服。本文以CentOS 5.5为例,介绍SCIM-GooglePinyin的安装全过程。

SCIM-GooglePinyin 项目试图将 Android 上的 Google 拼音输入法移植到 GNU/Linux 平台。SCIM-GooglePinyin 基于 SCIM 这个通用输入法平台,目前仍然在开发之中,不过其源代码已经可以通过 github 获取。

这个linux下的谷歌输入法很好用哈!下面是谷歌网站上的介绍(http://code.google.com/p/scim-googlepinyin/):

scim-googlepinyin tries to bring the open source Google pinyin IME for Android to GNU/Linux. And customize it to fit the need on regular desktop instead of on mobile device by following Google Pinyin on Windows.

This port is almost a line-by line translation from Java to C++. It's still under development. And it needs more testing and bug fixing for sure.

scim-googlepinyin is hosted at  github .

To get a working copy

  • git clone git://github.com/tchaikov/scim-googlepinyin.git
安装前准备:
git的安装:
# yum -y install git

安装步骤(需要自己编译):

A. 获取代码:

# git clone git://github.com/tchaikov/scim-googlepinyin.git

# ls
# cd scim-googlepinyin

B. 编译前提:

上面给的链接里面有介绍怎么编译的,但少提了几个必需组件,这里列一下:

* autotools-dev
* libgtk2.0-dev
* libscim-dev
* libtool
* automake1.9

用下面命令看看是不是安装了,如果没有,会自动帮你安装上:

$ aptitude install autotools-dev libgtk2.0-dev libscim-dev libtool automake1.9

C. 编译:
记住系统必须先存在SCIM(没有的话 sudo apt-get install scim 一下)

$ ./autogen.sh
$ make
$ sudo make install

大功告成,重启下SCIM然后就能体验了。


P.S.  测试没有通过,主要原因是有几个文件无法下载到,应该是本系统的软件源的问题。

Git is...

Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server. Branching and merging are fast and easy to do.

Git is used for version control of files, much like tools such as Mercurial, Bazaar, Subversion, CVS, Perforce, and Visual SourceSafe.


http://blog.163.com/longsu2010@yeah/blog/static/173612348201111194134891/

你可能感兴趣的:(Linux相关)