centos 7安装wine

首先复现的地址:
https://bbs.ichunqiu.com/forum.php?mod=viewthread&tid=23005&highlight=Eternalblue-Doublepulsar
这里需要 打开多架构支持/安装wine32
这里是安装wine的教程
http://blog.csdn.net/johnnyhu90/article/details/42099319
这里的下载的地址打不开需要更换一个(我安装的是1.7.40)
1.
wget http://citylan.dl.sourceforge.net/project/wine/Source/wine-1.7.33.tar.bz2
2.
tar -xf wine-1.7.33.tar.bz2
3.
yum -y groupinstall 'Development Tools'
4.
yum -y install libX11-devel freetype-devel
5.这里我不知道那个是64那个是32的,所以我都执行了一下
    5.1
yum install alsa-lib-devel.i686 libsndfile-devel.i686 readline-devel.i686 glib2.i686 glibc-devel.i686 libgcc.i686 libstdc++-devel.i686 pulseaudio-libs-devel.i686 cmake portaudio-devel.i686 openal-soft-devel.i686 audiofile-devel.i686 freeglut-devel.i686 lcms-devel.i686 libieee1284-devel.i686 openldap-devel.i686 unixODBC-devel.i686 sane-backends-devel.i686 fontforge libgphoto2-devel.i686 isdn4k-utils-devel.i686 mesa-libGL-devel.i686 mesa-libGLU-devel.i686 libXxf86dga-devel.i686 libXxf86vm-devel.i686 giflib-devel.i686 cups-devel.i686 gsm-devel.i686 libv4l-devel.i686 fontpackages-devel ImageMagick-devel.i686 openal-soft-devel.i686 libX11-devel.i686 docbook-utils-pdf libtextcat tex-cm-lgc
    5.2
yum install 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 libusb-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 pkgconfig sane-backends-devel.i686 sane-backends-devel xorg-x11-proto-devel glibc-devel.i686 prelink fontforge flex bison 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
6.

[[email protected] wine64]# cd
[[email protected] ~]# mkdir wine32
[[email protected] ~]# ls
anaconda-ks.cfg  initial-setup-ks.cfg  perl5  wine32  wine64
[[email protected] ~]# cd wine32
[[email protected] wine32]# /home/johnnyhu/下载/wine-1.7.33/configure --enable-win32
[[email protected] wine32]# make > make.log 2>&1
[[email protected] wine32]# make install

查询版本wine --version
wine-1.png

第一次需要使用需要执行命令wine -h(我这里已经使用过了)
wine-2.png

本文链接:

http://www.ba0z1.com/archives/32.html
1 + 1 =
快来做第一个评论的人吧~