This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |