ubuntu 18.04 搜狗输入法

1.下载旧版

http://cdn2.ime.sogou.com/dl/index/1491565850/sogoupinyin_2.1.0.0086_amd64.deb

将该deb包放置于一个空目录

创建软件包目录

mkdir -p extract/DEBIAN

解包

dpkg-deb -x sogoupinyin_2.1.0.0086_amd64.deb extract/
dpkg-deb -e sogoupinyin_2.1.0.0086_amd64.deb extract/DEBIAN

修改control文件

Package: sogoupinyin
Version: 2.1.0.0086
Architecture: amd64
Maintainer: Ubuntu Kylin Team <ubuntukylin-members@lists.launchpad.net>
Installed-Size: 53018
Depends: fcitx (>= 1:4.2.8.3-3~), fcitx-frontend-gtk2, fcitx-frontend-gtk3, fcitx-frontend-qt4, fcitx-module-kimpanel, im-config, libopencc2 | libopencc1, lsb-release, unzip, x11-utils, libc6 (>= 2.8), libgcc1 (>= 1:4.1.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.16.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), libstdc++6 (>= 4.6), libx11-6, zlib1g (>= 1:1.2.0)
Recommends: fcitx-frontend-qt5, fonts-droid-fallback | fonts-droid, dconf-gsettings-backend | gsettings-backend
Section: non-free/utils
Priority: optional
Homepage: http://pinyin.sogou.com/linux
Description: Sogou Pinyin Input Method
 Based on web search engine technology, Sogou Pinyin input method is
 the next-generation input method designed for Internet users. As it
 is backed with search engine technology, user input method can be
 extremely fast, and it is much more advanced than other input method
 engines in terms of the volume of the vocabulary database and its
 accuracy. Sogou input method is the most popular input methods in
 China, and Sogou promises it will always be free of charge.

打包

mkdir build
dpkg-deb -b extract/ build/

安装

.sogouinput
.config/fcitx
.config/sogou-qimpanel
.config/SogouPY
.config/SogouPY.users
.config/fcitx-qimpanel
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值