介绍
安装 Linux 兼容层:
# pkg install linux-c7 linux-c7-gtk2 linux-c7-libxkbcommon
开启服务:
#sysrclinux_enable=”YES”#sysrckld_list=”linuxlinux64″
提示:后续如果版本更新请自行前往
https://im.qq.com/linuxqq/download.html
手动下载。
#pkginstallarchivers/rpm4#cd/compat/linux#rpm2cpio</home/work/linuxqq_2.0.0-b2-1089_x86_64.rpm|cpio-id
#cd/home/work#fetchhttp://mirror.centos.org/centos/7/os/x86_64/Packages/gtk2-immodule-xim-2.24.31-1.el7.x86_64.rpm#fetchhttps://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/f/fcitx-gtk2-4.2.9.6-1.el7.x86_64.rpm#fetchhttps://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/f/fcitx-4.2.9.6-1.el7.x86_64.rpm#fetchhttps://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/f/fcitx-libs-4.2.9.6-1.el7.x86_64.rpm
然后分别安装以上 3 个包:
#cd/compat/linux#rpm2cpio</home/work/gtk2-immodule-xim-2.24.31-1.el7.x86_64.rpm|cpio-id#rpm2cpio</home/work/fcitx-gtk2-4.2.9.6-1.el7.x86_64.rpm|cpio-id#rpm2cpio</home/work/fcitx-4.2.9.6-1.el7.x86_64.rpm|cpio-id#rpm2cpio</home/work/fcitx-libs-4.2.9.6-1.el7.x86_64.rpm|cpio-id
注意:为了方便境内 FreeBSD 用户,可以使用境内的 gitee 同步下载以上三个文件;
其余步骤自行参考。境外用户可以使用 Github:
刷新 gtk 缓存:
# /compat/linux/usr/bin/gtk-query-immodules-2.0-64 –update-cache
$ /compat/linux/usr/local/bin/qq