admin管理员组

文章数量:1532722

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即可调用搜狗输入法

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

本文标签: 搜狗输入法Linuxrpmopensuse