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

4 comments:

Anonymous said...

sudo dpkg -i fcitx-sogoupinyin_0.0.4-1_amd64.deb

Selecting previously unselected package fcitx-sogoupinyin.
(Reading database ... 95153 files and directories currently installed.)
Unpacking fcitx-sogoupinyin (from fcitx-sogoupinyin_0.0.4-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of fcitx-sogoupinyin:
fcitx-sogoupinyin depends on libc6 (>= 2.14); however:
Version of libc6:amd64 on system is 2.13-38.


any ideas how to solve this?

Ryan said...

Did you try the i386 version?

Anonymous said...

When I try the i386 version I get similar error:

sudo dpkg -i fcitx-sogoupinyin_0.0.4-1_i386.deb

(Reading database ... 94410 files and directories currently installed.)
Preparing to replace fcitx-sogoupinyin 0.0.4-1 (using fcitx-sogoupinyin_0.0.4-1_i386.deb) ...
Unpacking replacement fcitx-sogoupinyin ...
dpkg: dependency problems prevent configuration of fcitx-sogoupinyin:
fcitx-sogoupinyin depends on fcitx-bin (>= 1:4.2.6).
fcitx-sogoupinyin depends on fcitx-libs (>= 1:4.2.6).
fcitx-sogoupinyin depends on fcitx-modules (>= 1:4.2.6).

Anonymous said...

btw, my fcitx-bin is of version: 1:4.2.8.3-2~bpo70+1