温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

linux 64位下安装wine1.6 Windows模拟器(用来运行.exe文件) 编译安装32位wine

发布时间:2020-06-10 14:25:01 来源:网络 阅读:1798 作者:快快大松 栏目:系统运维

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/ 


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI