This repository was archived by the owner on Feb 7, 2024. It is now read-only.
File tree 1 file changed +75
-0
lines changed
1 file changed +75
-0
lines changed Original file line number Diff line number Diff line change 1
1
# FreeBSD-Linux-QQ
2
2
FreeBSD install Linux QQ
3
+
4
+ #### 介绍
5
+ Linux QQ
6
+ FreeBSD 安装Linux QQ 之方法
7
+
8
+ FreeBSD 安装 Linux QQ 方法
9
+
10
+
11
+ #### 1、安装Linux 兼容层:
12
+
13
+ 以下参考https://docs.freebsd.org/en/books/handbook/linuxemu/
14
+
15
+ pkg install emulators/linux_base-c7
16
+
17
+ 开启服务:
18
+
19
+ sysrc linux_enable="YES"
20
+
21
+ sysrc kld_list="linux linux64"
22
+
23
+ #### 2、下载Linux QQ:
24
+
25
+ mkdir /home/work
26
+
27
+ wget https://down.qq.com/qqweb/LinuxQQ/linuxqq_2.0.0-b2-1089_x86_64.rpm
28
+
29
+ 提示:后续如果版本更新请自行前往https://im.qq.com/linuxqq/download.html 手动下载。
30
+
31
+ 安装Linux QQ:
32
+
33
+ pkg install archivers/rpm4
34
+
35
+ cd /compat/linux
36
+
37
+ rpm2cpio < /home/work/linuxqq_2.0.0-b2-1089_x86_64.rpm | cpio -id
38
+
39
+ #### 3、下载并安装Linux QQ 所需依赖:
40
+
41
+ 由于未知原因,安装的linux QQ 无法输入,需要安装以下依赖才可以输入文字,但是只摸索了Fcitx 输入法框架下的依赖。
42
+
43
+ cd /home/work
44
+
45
+ wget http://mirror.centos.org/centos/7/os/x86_64/Packages/gtk2-immodule-xim-2.24.31-1.el7.x86_64.rpm
46
+
47
+ wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/f/fcitx-gtk2-4.2.9.6-1.el7.x86_64.rpm
48
+
49
+ wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/f/fcitx-4.2.9.6-1.el7.x86_64.rpm
50
+
51
+ 然后分别安装以上3个包:
52
+
53
+ cd /compat/linux
54
+
55
+ rpm2cpio < /home/work/gtk2-immodule-xim-2.24.31-1.el7.x86_64.rpm | cpio -id
56
+
57
+ rpm2cpio < fcitx-gtk2-4.2.9.6-1.el7.x86_64.rpm | cpio -id
58
+
59
+ rpm2cpio < /home/work/fcitx-4.2.9.6-1.el7.x86_64.rpm | cpio -id
60
+
61
+ 注意:以下是使用github 进行文件同步
62
+ cd /home/work
63
+
64
+ pkg install git
65
+
66
+ git clone https://github.com/ykla/Linux-QQ.git
67
+
68
+ 其余步骤自行参考。
69
+
70
+
71
+ #### 4、刷新gtk 缓存:
72
+
73
+ sudo /compat/linux/usr/bin/gtk-query-immodules-2.0-64 --update-cache
74
+
75
+ #### 5、运行Linux QQ:
76
+
77
+ /compat/linux/user/local/
You can’t perform that action at this time.
0 commit comments