centos6.4安装QQ2012详细步骤

cd/opt
wget http://101.44.1.34/cdn.baidupcs.com/file/88b7d3780a6d0b7c8f15328f78635191?xcode=33249c8c0f480cb14317c2bfc139a2c4657dbcb0018bdbb2&fid=3490148653-250528-1840052651&time=1380174329&sign=FDTAXER-DCb740ccc5511e5e8fedcff06b081203-tzTg35WbpTLwY3SOQxQ1MZgpVAc%3D&to=cb&fm=N,B,T,t&expires=8h&rt=sh&r=336377461&logid=845671924&sh=1&fn=qq2012.tar.gz&wshc_tag=0&wsiphost=ipdbm
tarzxfqq2012.tar.gz
cdqq2012/wineapp/qq/
./install.sh

vim qq.sh

将qq.sh文件中的:

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;

安装QQ需要使用的文件(直接复制到shell里面执行即可):

yum -y install alsa-lib-devel.i686

alsa-lib-devel

audiofile-devel.i686

audiofile-devel

cups-devel.i686

cups-devel

dbus-devel.i686

dbus-devel

fontconfig-devel.i686

fontconfig-devel

freetype.i686

freetype-devel.i686

freetype-devel

giflib-devel.i686

giflib-devel

lcms-devel.i686

lcms-devel

libICE-devel.i686

libICE-devel

libjpeg-turbo-devel.i686

libjpeg-turbo-devel

libpng-devel.i686

libpng-devel

libSM-devel.i686

libSM-devel

libusb-devel.i686

ibusb-devel

libX11-devel.i686

libX11-devel

libXau-devel.i686

libXau-devel

libXcomposite-devel.i686

libXcomposite-devel

libXcursor-devel.i686

libXcursor-devel

libXext-devel.i686

libXext-devel

libXi-devel.i686

libXi-devel

libXinerama-devel.i686

libXinerama-devel

libxml2-devel.i686

libxml2-devel

libXrandr-devel.i686

libXrandr-devel

libXrender-devel.i686

libXrender-devel

libxslt-devel.i686

libxslt-devel

libXt-devel.i686

libXt-devel

libXv-devel.i686

libXv-devel

libXxf86vm-devel.i686

libXxf86vm-devel

mesa-libGL-devel.i686

mesa-libGL-devel

mesa-libGLU-devel.i686

mesa-libGLU-devel

ncurses-devel.i686

ncurses-devel

openldap-devel.i686

openldap-devel

openssl-devel.i686

openssl-devel

zlib-devel.i686

pkgconfigsane-backends-devel.i686

sane-backends-devel

xorg-x11-proto-devel

glibc-devel.i686

prelink

font

forge

flexbison

libstdc++-devel.i686

pulseaudio-libs-devel.i686

gnutls-devel.i686

libgphoto2-devel.i686

openal-soft-devel

openal-soft-devel.i686

isdn4k-utils-devel.i686

gsm-devel.i686

samba-winbind

libv4l-devel.i686

cups-devel.i686

libtiff-devel.i686

gstreamer-devel.i686

gstreamer-plugins-base-devel.i686

gettext-devel.i686

libmpg123-devel.i686

你可能感兴趣的:(QQ2012)