Install Google PinYin Input Method in Linux

Source: Internet
Author: User

SELF: http://code.google.com/p/scim-googlepinyin/wiki/install
And modified some content.

 

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:

$ Git clone git: // github.com/tchaikov/scim-googlepinyin.git
$ Scim-googlepinyin.git CD

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 shocould work for you.

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

// We recommend that you use aptitude instead of APT-get, because the former will automatically install the missing content when the dependency is found to be missing. Yesterday, when I configured the android compiling environment, because libsdl-Dev was required to be installed, the dependent package could not be found. I even installed a deb package, and the result would not work. I saw a post installed with aptitude this morning, which solved the problem.

Runtime depends
* Scim

$ Sudo aptitude install scim

Build and install
Following commands installscim-googlepinyin into your system.

$./Autogen. Sh
$ Make
$ Sudo make install
 
Finally, you can configure it in scim. A small bug is found, that is, after the candidate word is turned over, the candidate word will be shifted to the left. Try to change the number of candidate words from the default value of 8 to the value of 7 to solve the problem, but the number of candidate words is still 9 in the list, which does not affect anything.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.