admin管理员组文章数量:1604930
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即可调用搜狗输入法
##################################效果图################################
版权声明:本文标题:搜狗输入法linux版 rpm,opensuse 制作搜狗输入法rpm包 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1725506499a1026398.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论