突然发现Deepin发行版带有讯飞输入法,于是折腾了一会,安装好了这个输入法,现把安装过程分享如下:
软件包的依赖:
Package: iflyime
Version: 0.9.962
Section: devel
Priority: optional
Architecture: amd64
Depends: libboost-filesystem1.62.0, libboost-regex1.62.0, libboost-system1.62.0, libboost-locale1.62.0, libboost-chrono1.62.0, libboost-thread1.62.0, fcitx (>= 1:4.2.8.3-3~), fcitx-frontend-gtk2, fcitx-frontend-gtk3, fcitx-frontend-qt4, libfcitx-qt0 | fcitx-libs-qt, fcitx-module-kimpanel, im-config, libopencc2 | libopencc1, lsb-release, unzip, zip, x11-utils, fcitx-libs (>= 4.2.7), libc6 (>= 2.8), libgcc1 (>= 1:4.1.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.12.0), libidn11 (>= 1.13), libnotify4 (>= 0.7.0), libqt4-dbus (>= 4:4.8.0), libqt4-declarative (>= 4:4.8.0), libqt4-network (>= 4:4.8.0), libqtcore4 (>= 4:4.8.0), libqtgui4 (>= 4:4.8.0), libqtwebkit4 (>= 2.1.0~2011week13), libstdc++6 (>= 4.6), libx11-6, zlib1g (>= 1:1.2.0), libportaudio2 (>= 19.6.0), librime1 , fcitx-bin, fcitx-data (>= 1:4.2.8.1), fcitx-modules, librime-data
Installed-Size: 123642
Maintainer: www.iflytek.com
Description: iflyime built using CMake
我的系统:
$ uname -a
Linux wyhm 4.19.0-5-amd64 #1 SMP Debian 4.19.37-6 (2019-07-18) x86_64 GNU/Linux
cat /etc/issue
Debian GNU/Linux bullseye/sid \n \l
======重点分界线==========
因libboost-filesystem1.62.0等在oldstable中,所以:
步骤1,在 /etc/apt/sources.list 添加如下两行:
步骤2,建/etc/apt/preferences, 内容如下:
Package: *
Pin: release a=stable
Pin-Priority: 1001
Package: *
Pin: release a=testing
Pin-Priority: 60
Package: *
Pin: release a=oldstable
Pin-Priority: 50
步骤3,卸载 sogoupinyin(安装好讯飞后搜狗拼音不能使用,先卸载):
sudo apt purge sogoupinyin
步骤4, 执行:
sudo apt update
apt -t stable install libqtwebkit4 libqtcore4
apt -t oldstable install libboost-filesystem1.62.0 librime1
步骤5,安装讯飞输入法:
sudo dpkg -i 下载/iflyime_0.9.962_amd64.deb
步骤6,重新启动计算机,可以使用讯飞输入法了。
与搜狗拼音相比,语音输入太强大,输入速度远超搜狗输入法。
上车截图如下: