搜狗输入法linux版 rpm,opensuse 制作搜狗输入法rpm包

opensuse自带的中文输入法和搜狗比较还是搜狗好用的多,但是搜狗没有rpm包。

制作过程中需要用到Alien包转换工具。

Alien下载

2.安装Alien

解压后进入目录,查看安装说明

To try alien before installing, just run ./alien.pl from this directory. Most

features will work prior to installation.

To install alien, become root and type:

perl Makefile.PL; make; make install

To use alien, you'll need a variety of other software. See the README for

details.

执行

perl Makefile.PL&& make&& make install

3. 下载搜狗输入法安装包 我用的是64位包

4. 转换deb包

执行 alien --to-rpm --scripts sogoupinyin_2.1.0.0082_amd64.deb

报错了,报错信息提示缺少rpmbuild

linux-iv7v:~/Downloads # alien --to-rpm --scripts sogoupinyin_2.1.0.0082_amd64.deb

Package build failed. Here's the log of the command (cd sogoupinyin-2.1.0.0082; rpmbuild             --buildroot='/root/Downloads/sogoupinyin-2.1.0.0082' -bb --target x86_64 'sogoupinyin-                2.1.0.0082-2.spec'):

sh: rpmbuild: 未找到命令

安装rpmbuild ; zypper install rpmbuild

然后在当前目录下就可以看见搜狗rpm包了。

##########

##########

5. 执行安装rpm包

zypper install sogoupinyin-2.1.0.0082-2.x86_64.rpm

6. 重启后,按shift即可调用搜狗输入法

##################################效果图################################

0818b9ca8b590ca3270a3433284dd417.png

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值