首页 > 代码库 > linux 64位下安装wine1.6 Windows模拟器(用来运行.exe文件) 编译安装32位wine
linux 64位下安装wine1.6 Windows模拟器(用来运行.exe文件) 编译安装32位wine
cd
yum groupinstall ‘Development Tools‘ -y
yum install libX11-devel freetype-devel -y
wget http://prdownloads.sourceforge.NET/wine/wine-1.6.tar.bz2
tar -jvxf wine-1.6.tar.bz2
cd wine-1.6
编译之前先安装32位运行库不然不能编译:
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 -y
安装这个可能会出错: 1. glib2.i686 这个库安装不了 可以选择不安装
2. configure: error: FreeType 32-bit development files not found. Fonts will not be built.
解决办法: yum -y install freetype-devel.i686
./configure
make
make install
安装VNC远程桌面
Vnc View远程登录后,文档内容不乱码,拷贝Windows系统中的字体到 /root/.wine/drive_c/windows/Fonts/
本文出自 “高防服务器销售,自带运维” 博客,请务必保留此出处http://kenvik.blog.51cto.com/11000054/1858422
linux 64位下安装wine1.6 Windows模拟器(用来运行.exe文件) 编译安装32位wine