Wednesday, November 20, 2013

[debian] Install sogou pinyin on wheezy

This post is written on Nov 20, 2013.

Sogou pinyin can not be installed on default wheezy, since it depends on fcitx-bin (>=4.2.6). Only 4.2.4 is provided in the default apt source on wheezy. However the version on wheezy-backports is 4.2.8, so it's possible to use the fcitx-bin for sogou pinyin.

Here're the steps:
1. Get the latest release of sogou deb file from the following url:
http://packages.linuxdeepin.com/deepin/pool/non-free/f/fcitx-sogoupinyin-release/
2. Add following line in your sources.list


deb http://YOURMIRROR.debian.org/debian wheezy-backports main


3. Run "aptitude update"
4. Install fcitx-bin from backports:
 
aptitude -t wheezy-backports install fcitx-bin

5. Install the deb file of sogou pinyin, simply right click on the deb file and choose "Open with Software Installer"
6. On finished, restart X to activate it.
7. Right click on the fcitx icon at the right-bottom, choose "configure".
8. Add "Sogou Pinyin" to "Input Method", close the dialog windows.

And it's done. Have fun.

Reference:
1. http://backports.debian.org/Instructions/
2. http://backports.debian.org/Instructions/#index3h2