Ubuntu comes with the ibus input platform by default. It provides an input method called pinyin. I don't like it very much. I heard SunPinYin is good, so I just installed it !!! (Refer to here) Step 1: download and install the input method: installation.
Ubuntu comes with the ibus input platform by default. It provides an input method called pinyin. I don't like it very much. I heard SunPinYin is good, so I just installed it !!! (Refer to here)
Step 1: download and install the Input Method
: Http://code.google.com/p/sunpinyin/downloads/list
Download the latest two packages: sunpinyin-2.0.3.tar.gz,ibus-sunpinyin-2.0.3.tar.gz
Step 2: Install dependency Components
C ++ Compiler (sudo aptitude install build-essential)
Sqlite3 (sudo apt-get install sqlite3 libsqlite3-dev)
SCons (sudo apt-get install scons)
Step 3: Install the input method Engine
1) decompress sunpinyin-2.0.3.tar.gz using sudo tar-zxvf sunpinyin-2.0.3.tar.gz. Enter this directory
2) use scons -- prefix =/usr for compilation (-- prefix =/usr indicates to install the file to/usr, which is installed under/usr/local by default)
3) use the sudo scons install command for installation, after installation, use pkg-config sunpinyin-2.0 -- modversion to check whether 2.0.3 appears, indicating that the installation is successful
Step 4: Install the ibus Interface
1) decompress ibus-sunpinyin-2.0.3.tar.gz using sudo tar-zxvf ibus-sunpinyin-2.0.3.tar.gz. Enter this directory
2) use scons -- prefix =/usr for compilation (-- prefix =/usr indicates to install the file to/usr, which is installed under/usr/local by default)
3) use the sudo scons install command for installation. After installation, restart ibus to use the sunpinyin input method.
The following are possible problems during installation:
1)
- <Strong>Scons: Reading SConscript files...
- ImportError: No module named textfile:
- File "/home/lgmtest/download/ibus-sunpinyin-2.0.3/SConstruct", line 2:
- Import SCons. Tool. textfile Strong>
Cause: the scons version is too low. You can use scons -- version to view the version. It is found that the version is 1.2.
Solution: Go to http://www.scons.org/to download the latest scons, download and decompress it, enter the directory, and use Python setup. py install for installation.
2)
- Scons: Reading SConscript files...
- Checking for pkg-config... yes
- Checking for ibus-1.0... no
Cause: libibus-dev is not installed. Use sudo apt-get install libibus-dev to install ibus.
Finally, the input method for successful installation is included:
In addition, Google Pinyin input method is recommended.
Refer:
Install Google PinYin Input Method http://www.linuxidc.com/Linux/2010-06/26440.htm in Ubuntu 10.04
Ubuntu 10.10 install Google PinYin input method detailed process http://www.linuxidc.com/Linux/2011-03/33838.htm