第一步下载下面的软件:

http://www.everbox.com/f/yLDb2jlpP9WBVvXlSkzC5JKuD9

http://pan.baidu.com/share/link?shareid=124141&uk=537161898

第二步按照下面的提示执行即可(根据实际目录解压到OPT目录即可)需要管理员权限
# cd /root

# tar -zxvf qq2012.tar.gz -C /opt

# cd /opt

# ls

# cd qq2012/wineapp/qq/

# ls

# ./install.sh

copy files ...

# ./qq.sh 
到这 一部没有报错的话就OK 了,
安装完之后会提示热键冲突,修改一下就行了。。。

我这是用root 安装的可以直接用普通用户下不能启动,更改方法
# rm -rf ~8023CWN/.qq2012

# cd

# mv .qq2012/ ~8023CWN

# cd ~yuan

# chown -R 8023CWN .qq2012/

# chgrp -R 8023CWN .qq2012/

8023CWN为普通用户的目录

64位linux安装完成后运行出现 类似“不存在XX文件或目录”的错误(32位系统一切正常)

实则是不识别32位软件导致的,解决方法如下:

参考:http://www.linuxdiyf.com/viewarticle.php?id=276020

下载qq地址:http://www.everbox.com/f/yLDb2jlpP9WBVvXlSkzC5JKuD9

错误
/root/.qq2012/drive_c/Program Files/Tencent/QQ/Bin/QQ.exe

shell访问
 /root/.qq2012/drive_c/Program\ Files/Tencent/QQ/Bin/QQ.exe
/home/shuiyouren/.qq2012/drive_c/Program\ Files/Tencent/QQ/Bin/QQ.exe;

实际存在
/opt/qq2012/wineapp/.wine/drive_c/Program Files/Tencent/QQ/Bin/QQ.exe
/home/shuiyouren/.qq2012/drive_c/Program Files/Tencent/QQ/Bin/QQ.exe

[root@localhost qq]# more ./qq.sh
#!/bin/bash
MYNAME=$(whoami);
QQVER=qq2012
WINEQQ=.qq2012

if [ $MYNAME == 'root' ];then
WINEDEBUG=-all    env WINEPREFIX=~/$WINEQQ /opt/$QQVER/bin/wine /$MYNAME/$WINEQQ/drive_c/Program\ Files/Tencent/QQ/Bin/QQ.exe;
else
WINEDEBUG=-all    env WINEPREFIX=~/$WINEQQ /opt/$QQVER/bin/wine /home/$MYNAME/$WINEQQ/drive_c/Program\ Files/Tencent/QQ/Bin/QQ.exe;
fi

修改后
if [ $MYNAME == 'root' ];then
WINEDEBUG=-all    env WINEPREFIX=~/$WINEQQ /opt/$QQVER/bin/wine /opt/$QQVER/wineapp/.wine/drive_c/Program\ Files/Tencent/QQ/Bin/QQ.exe;
else
WINEDEBUG=-all    env WINEPREFIX=~/$WINEQQ /opt/$QQVER/bin/wine /home/$MYNAME/$WINEQQ/drive_c/Program\ Files/Tencent/QQ/Bin/QQ.exe;

过程:
[root@localhost qq]# ./qq.sh
env: /opt/qq2012/bin/wine: No such file or directory
原因:64位无法识别32位

安装32位库:
sudo yum install glibc.i686 glibc-devel.i686

[root@localhost qq]# ./qq.sh
wine: created the configuration directory '/root/.qq2012'
wine: cannot find '/root/.qq2012/drive_c/Program Files/Tencent/QQ/Bin/QQ.exe'

Wine cannot find the ncurses library (libncurses.so.5).
[root@localhost qq]# yum install libncurses.so.5

libgcc_s.so.1 must be installed for pthread_cancel to work

[root@localhost qq]# yum install libgcc_s.so.1

[root@localhost qq]# ./qq.sh
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Application tried to create a window, but no driver could be loaded.
Unknown error (127).

[root@localhost qq]# yum list freetype*

[root@localhost qq]# yum install freetype.i686

[root@localhost qq]# ./qq.sh
Application tried to create a window, but no driver could be loaded.
Unknown error (127).

安装wine
参考:http://www.tecmint.com/install-wine-in-rhel-centos-and-fedora/

[shuiyouren@localhost wine-1.5.25]$ ./tools/wineinstall
错误:
configure: error: no acceptable C compiler found in $PATH

[shuiyouren@localhost wine-1.5.25]$ sudo yum install gcc.x86_64
错误:
configure: error: C compiler cannot create executables

原因:缺少 glibc-devel.x86_64 参考:http://forum.slicehost.com/index.php?p=/discussion/1116/c-compiler-cannot-create-executables-/p1
[shuiyouren@localhost ~]$ sudo yum install glibc-devel.x86_64 glibc-static.i686 glibc-static.x86_64

[shuiyouren@localhost wine-1.5.25]$ sudo yum install gcc.x86_64
错误:
configure: error: FreeType 32-bit development files not found. Fonts will not be built.

[shuiyouren@localhost ~]$ sudo yum install freetype-devel.i686
[shuiyouren@localhost wine-1.5.25]$ ./tools/wineinstall
成功(不过要等很长时间,不过发现安装后仍然无法解决这个问题,所以不知道安装wine是否必要)!

接下来花了很长时间在英文论坛上查找这个相关资料,还好找到了。

[root@localhost qq]# sudo yum install libXxf86dga.i686
[root@localhost qq]# ./qq.sh
OK!错误消失,真是太棒了!参考:http://ubuntuforums.org/archive/index.php/t-185557.html

[shuiyouren@localhost .qq2012]$ /opt/qq2012/wineapp/qq/qq.sh
Native IE detected, not doing registration
wine: configuration in '/home/shuiyouren/.qq2012' has been updated.

error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

[shuiyouren@localhost ~]$ sudo yum install gtk2.i686
[shuiyouren@localhost ~]$ /tmp/linuxqq_v1.0.2_i386/qq

(qq:3464): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

[shuiyouren@localhost ~]$ sudo yum install PackageKit-gtk-module.i686
[shuiyouren@localhost ~]$ sudo yum install libcanberra.i686
[shuiyouren@localhost ~]$ sudo yum install gtk2-engines.i686
参考:http://www.linuxquestions.org/questions/linux-software-2/error-while-loading-shared-libraries-libgtk-x11-2-0-so-0-cannot-738695/

[shuiyouren@localhost ~]$ /tmp/linuxqq_v1.0.2_i386/qq
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or director

[shuiyouren@localhost ~]$ sudo yum install libcanberra-gtk2.i686

[shuiyouren@localhost ~]$ /tmp/linuxqq_v1.0.2_i386/qq

[21:56:19][TLOG][warn]res_db: error message-> no such table: res_db_file

中间可能会用到DE win平台软件以及安装说明

Installing Wine 1.7.3 in RHEL, CentOS and Fedora

Step 1: Installing Dependency Packages

We need to install ‘Development Tools‘ with some core development tools such gcc, flex, bison,debuggers etc. these software’s are must required to compile and build new packages, install them using YUM command.

# yum -y groupinstall 'Development Tools'
# yum -y install libX11-devel freetype-devel

Step 2: Downloading Wine 1.7.3

Download the source file using Wget command under /tmp directory as a normal User.

$ cd /tmp
$ wget http://citylan.dl.sourceforge.net/project/wine/Source/wine-1.7.3.tar.bz2

Step 3: Extracting Wine 1.7.3

Once the file is downloaded under /tmp directory, use the below commands to extract it.

$ tar -xvf wine-1.7.3.tar.bz2 -C /tmp/

Step 4: Installing Wine 1.7.3

It is recommended to compile and build Wine installer as a normal User. Run the following commands as normal user. (Note : The installer might take up-to 20-30 minutes and in the middle it will ask you to enter root password).

On 32-Bit Systems
$ cd wine-1.7.3/
$ ./tools/wineinstall
On 64-Bit Systems
$ cd wine-1.7.3/
$ ./configure --enable-win64
$ make
# make install

Once the installation completes run the “winecfg” configuration tool from KDE or GNOMEdesktop to see the supported configuration. If you don’t have any of the desktop, you can install it by using the below command as root user.

# yum groupinstall "X Window System" "GNOME Desktop Environment"
OR
# yum groupinstall "X Window System" "KDE (K Desktop Environment)"

Once the X Window System installed, run the command as normal user to see wine configuration.

$ winecfg

Winecfg Screen

Step 5: Running Wine 1.7.3

To run the Wine, you must specify the full path to the executable program. For example shown below.

$ wine notepad
$ wine notepad.exe
$ wine c:\\windows\\notepad.exe

Running Wine in KDE

Wine is not perfect, because while using wine we see so many programs crashes. I think wine team will soon fix all bugs in their upcoming version and meanwhile do share your comments using our below form.

Centos 6.4 x86_64 安装QQ2012解决方案相关推荐

  1. Centos 6.3 x86_64安装与配置bacula

    Centos 6.3 x86_64安装与配置bacula 一,简介 Bacula是一款开源的跨平台的网络备份工具,基于c/s架构,通过它,管理员可以对数据进行备份,恢复,以及完整性验证等操作. 适合业 ...

  2. Linux - CentOS 6.3 (x86_64)安装过程详细图解

    转载自:http://www.cnblogs.com/highend/archive/2012/12/03/centos_6_3_x86_64_install.html#2569211 感谢该园园主 ...

  3. centos 6.3 x86_64安装32位JDK的问题

    2019独角兽企业重金招聘Python工程师标准>>> 我的是64位系统所以遇到下面的问题1: 修复/lib/ld-linux.so.2: bad ELF interpreter:  ...

  4. Centos6.4安装QQ2012步骤

    参考:http://www.linuxidc.com/Linux/2012-07/64214.htm 1 .先下载qq2012.tar.gz 下载地址一: FTP地址:ftp://www.linuxi ...

  5. 在CentOS 6.8 x86_64上安装ATS 6.2.1实录

    我的博客上已经有很多这样的ats安装实录了,这次的笔记有些不一样,因为它是ATS目前最新的LTS版本6.2.1的安装,写出来更多的是整理自己的思路,因为很多东西搞过不整理,过一段时间就完全忘记掉了. ...

  6. 在CentOS 6.6 x86_64上安装SystemTap/Perf+FlameGraph玩转火焰图实录

    下面是我结合网上资料摸索出的可行的操作方法,记录在这样,以备后面继续研究.操作系统是CentOS 6.6 x86_64. 1.将内核版本升级到最新版 因为我机器上CentOS 6.6的内核版本号是2. ...

  7. 在VirtualBox 5.0.12 for Linux版本上安装CentOS 6.6 x86_64系统

    本博文记录了我在CentOS 6.6 64bit上的VirtualBox 5.0.12上安装一个CentOS 6.6 64bit的过程.我选择这样做的原因,是便于以后安装和验证一下软件. 如果直接在真 ...

  8. CentOS 6.3(x86_64)下安装Oracle 10g R2

    CentOS 6.3(x86_64)下安装Oracle 10g R2 目 录 一.硬件要求 二.软件 三.系统安装注意 四.安装Oracle前的系统准备工作 五.安装Oracle,并进行相关设置 六. ...

  9. CentOS 6.4安装qq2012

    在CentOS 6.4安装qq2012,需要经过一下几个步骤: 第一步,在安装之前需要先安装一些依赖包EPEL和wine:[quote] [color=blue]#rpm -ivh http://mi ...

最新文章

  1. getDay()显示的是本周的第几天
  2. 在Mybatis3开发中与配置相关的7点体会
  3. 2020 年 Java 面试常见 350 题
  4. 量子物理 詹班 计算机,6量子物理作业答案
  5. 再见了Dubbo!正式拥抱下一个神级Java开发框架!
  6. Angular2官网项目 (4)--路由
  7. Network下方什么请求也没有_今日头条上传图片时设置封面图报像素低的原因是什么...
  8. Dart教程(一):dart安装
  9. 如何在Windows环境搭建Object C开发环境
  10. oracle年龄计算函数
  11. 写给海布里之王—亨利
  12. html比较长的单词不自动换行,HTML+CSS 对于英文单词强制换行但不截断单词的解决办法...
  13. 编程创建一个Cale计算类,在其中定义2个变量(属性)表示两个操作数,定义四个方法实现求和、差、乘、商(要求除数为0的话,要提示)``并创建两个对象,分别测试 。
  14. e4a怎么建立mysql_E4A编程MYSQL数据库操作
  15. 华为mate30怎么更换鸿蒙系统,怎么升级到鸿蒙2.0系统呀
  16. 真空扫街机行业调研报告 - 市场现状分析与发展前景预测
  17. 万邦微信公众号根据关键词取文章列表 API 返回值说明
  18. PDF怎么编辑?如何设置页面?
  19. 不规则裁剪图片css,使用CSS的clip-path属性实现不规则图形的显示
  20. 痞子衡嵌入式:存储器大厂Micron的NOR Flash芯片特殊丝印设计(FBGA代码)

热门文章

  1. sqli-labs less 24 POST -Second Oder injection *Real treat* - Stored injections
  2. windows11 Jmeter安装教程
  3. 论文中插入求和符号∑各种不同版本要求
  4. B站季报图解:营收58亿净亏收窄36% 日活突破9000万
  5. wb 黑名单批量操作
  6. 华为服务器用光盘重装系统_华为RH2288H服务器引导ServiceCD安装Windows Server操作系统...
  7. VMware安装Arch Linux+Gnome桌面
  8. 【java】生成【PDF】后端接口-- java生成PDF的第二步
  9. Locust学习笔记4——UI界面介绍
  10. 面向对象设计六大原则