Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ykla authored May 26, 2021
1 parent 4690b3b commit 04ab4cf
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,77 @@
# FreeBSD-Linux-QQ
FreeBSD install Linux QQ

#### 介绍
Linux QQ
FreeBSD 安装Linux QQ 之方法

FreeBSD 安装 Linux QQ 方法


#### 1、安装Linux 兼容层:

以下参考https://docs.freebsd.org/en/books/handbook/linuxemu/

pkg install emulators/linux_base-c7

开启服务:

sysrc linux_enable="YES"

sysrc kld_list="linux linux64"

#### 2、下载Linux QQ:

mkdir /home/work

wget https://down.qq.com/qqweb/LinuxQQ/linuxqq_2.0.0-b2-1089_x86_64.rpm

提示:后续如果版本更新请自行前往https://im.qq.com/linuxqq/download.html 手动下载。

安装Linux QQ:

pkg install archivers/rpm4

cd /compat/linux

rpm2cpio < /home/work/linuxqq_2.0.0-b2-1089_x86_64.rpm | cpio -id

#### 3、下载并安装Linux QQ 所需依赖:

由于未知原因,安装的linux QQ 无法输入,需要安装以下依赖才可以输入文字,但是只摸索了Fcitx 输入法框架下的依赖。

cd /home/work

wget http://mirror.centos.org/centos/7/os/x86_64/Packages/gtk2-immodule-xim-2.24.31-1.el7.x86_64.rpm

wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/f/fcitx-gtk2-4.2.9.6-1.el7.x86_64.rpm

wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/f/fcitx-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 < 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

注意:以下是使用github 进行文件同步
cd /home/work

pkg install git

git clone https://github.com/ykla/Linux-QQ.git

其余步骤自行参考。


#### 4、刷新gtk 缓存:

sudo /compat/linux/usr/bin/gtk-query-immodules-2.0-64 --update-cache

#### 5、运行Linux QQ:

/compat/linux/user/local/

0 comments on commit 04ab4cf

Please sign in to comment.