{"id":114,"date":"2018-10-21T15:01:40","date_gmt":"2018-10-21T07:01:40","guid":{"rendered":"http:\/\/www.eait.co\/?p=114"},"modified":"2018-11-02T02:40:19","modified_gmt":"2018-11-01T18:40:19","slug":"centos32%e4%bd%8d64%e4%bd%8d%e5%ae%89%e8%a3%85wine","status":"publish","type":"post","link":"https:\/\/notes.coremix.net\/?p=114","title":{"rendered":"centos32\u4f4d\/64\u4f4d\u5b89\u88c5wine"},"content":{"rendered":"<p>\u8f6c\u8f7d\u4e00\u7bc7\uff0c\u539f\u6587\u5730\u5740\uff1a<a href=\"http:\/\/www.centoscn.com\/image-text\/install\/2014\/1210\/4282.html\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/www.centoscn.com\/image-text\/install\/2014\/1210\/4282.html<\/a><\/p>\n<p>CentOS\u5b89\u88c5wine<\/p>\n<p>Wine \uff08\u201cWine Is Not an Emulator\u201d \u7684\u9996\u5b57\u6bcd\u7f29\u5199\uff09\u662f\u4e00\u4e2a\u80fd\u591f\u5728\u591a\u79cd POSIX-compliant \u64cd\u4f5c\u7cfb\u7edf\uff08\u8bf8\u5982 Linux\uff0cMac OSX \u53ca BSD \u7b49\uff09\u4e0a\u8fd0\u884c Windows \u5e94\u7528\u7684\u517c\u5bb9\u5c42\u3002<\/p>\n<p>Wine (Wine Is Not an Emulator)[\u5373Wine\u4e0d\u662f\u4e00\u4e2a\u6a21\u62df\u5668]\u662f\u4e00\u4e2a\u5728Linux\u548cUNIX\u4e4b\u4e0a\u7684,Windows 3.x\u548c Windows APIs\u7684\u5b9e\u73b0\u3002\u6ce8\u610f\uff0cWine\u4e0d\u662fWindows\u6a21\u62df\u5668\uff0c\u800c\u662f\u8fd0\u7528API\u8f6c\u6362\u6280\u672f\u5b9e\u505a\u51faLinux\u5bf9\u5e94\u5230Windows\u76f8\u5bf9\u5e94\u7684\u51fd\u6570\u6765\u8c03\u7528DLL\u4ee5\u8fd0\u884cWindows\u7a0b\u5e8f\u3002Wine\u53ef\u4ee5\u5de5\u4f5c\u5728\u7edd\u5927\u591a\u6570\u7684UNIX\u7248\u672c\u4e0b,\u5305\u62ecLinux, FreeBSD, \u548c Solaris\u3002\u53e6\u5916\uff0c\u4e5f\u6709\u9002\u7528\u4e8eMac OS X\u7684Wine\u7a0b\u5e8f\u3002Wine\u4e0d\u9700\u8981Microsoft Windows, \u56e0\u4e3a\u8fd9\u662f\u4e00\u4e2a\u5b8c\u5168\u7531\u767e\u5206\u4e4b\u767e\u7684\u514d\u8d39\u4ee3\u7801\u7ec4\u6210\u7684\u3002\u5982\u679c\u6709\u53ef\u5229\u7528\u7684\u526f\u672c\u7684\u8bdd\uff0c\u5b83\u4e5f\u53ef\u4ee5\u968f\u610f\u5730\u4f7f\u7528\u672c\u5730\u7cfb\u7edf\u7684DLLs\u3002Wine\u7684\u53d1\u5e03\u662f\u5b8c\u5168\u516c\u5f00\u6e90\u4ee3\u7801\u7684\uff0c\u5e76\u4e14\u662f\u514d\u8d39\u53d1\u884c\u7684\u3002\u2013\u6765\u6e90\u4e8e\u767e\u5ea6\u767e\u79d1<\/p>\n<p>\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u8bb0\u5f55\u4e86\u5982\u4f55\u5728CentOS 6.5\u4e0a\u5b89\u88c5Wine 1.7.24\u5f00\u53d1\u7248<br \/>\n1\u3001\u5b89\u88c5\u9700\u8981\u7684\u8f6f\u4ef6\u5305<\/p>\n<pre class=\"prettyprint\"><code class=\"has-numbering\"># yum groupinstall \u2018Development Tools\u2018\r\n# yum install libX11-devel freetype-devel zlib-devel libxcb-devel\r\n<\/code><\/pre>\n<ul class=\"pre-numbering\">\n<li>1<\/li>\n<li>2<\/li>\n<\/ul>\n<p>2\u3001\u4e0b\u8f7d\u5e76\u89e3\u538bWine\u5305<\/p>\n<pre class=\"prettyprint\"><code class=\"has-numbering\"># cd \/usr\/src\r\n# wget http:\/\/prdownloads.sourceforge.net\/wine\/wine-1.7.24.tar.bz2\r\n#\u65b0\u7684\u94fe\u63a5\uff1ahttp:\/\/dl.winehq.org\/wine\/source\/2.0\/wine-2.0.tar.bz2\r\n# tar xjf wine-1.7.24.tar.bz2\r\n<\/code><\/pre>\n<ul class=\"pre-numbering\">\n<li>1<\/li>\n<li>2<\/li>\n<li>3<\/li>\n<li>4<\/li>\n<\/ul>\n<p>\u5907\u6ce8\uff1a1.7.24\u662f\u5f00\u53d1\u7248\uff0c\u4e0d\u662f\u7a33\u5b9a\u7248\uff0c\u5982\u679c\u4f60\u9700\u8981\u5b89\u88c5\u7a33\u5b9a\u7248\u8bf7\u70b9\u6b64\u94fe\u63a5\u4e0b\u8f7d\uff0c\u65b9\u6cd5\u662f\u4e00\u6837\u7684\u3002<br \/>\n3\u3001\u5b89\u88c5Wine<\/p>\n<p>\u8fd9\u91cc\u4f7f\u7528\u7684\u662f\u6e90\u7801\u7f16\u8bd1\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5f00\u59cb\u7f16\u8bd1\uff0c\u914d\u7f6e\u597d\u7684\u8bdd30\u5206\u949f\u5de6\u53f3\u53ef\u4ee5\u5b8c\u6210\uff0c\u914d\u7f6e\u5dee\u70b9\u7684\u8bdd\u53ef\u80fd\u9700\u8981\u66f4\u4e45\u7684\u65f6\u95f4\uff0c\u8010\u5fc3\u7b49\u5f85\u3002<br \/>\n<strong>32\u4f4d\u7cfb\u7edf<\/strong><\/p>\n<pre class=\"prettyprint\"><code class=\"has-numbering\"># cd wine-1.7.24\/\r\n# .\/configure\r\n# make\r\n# make install\r\n<\/code><\/pre>\n<ul class=\"pre-numbering\">\n<li>1<\/li>\n<li>2<\/li>\n<li>3<\/li>\n<li>4<\/li>\n<\/ul>\n<p><strong>64\u4f4d\u7cfb\u7edf<\/strong><\/p>\n<pre class=\"prettyprint\"><code class=\"has-numbering\"># cd wine-1.7.24\/\r\n# .\/configure \u2013enable-win64\r\n# make\r\n# make install\r\n<\/code><\/pre>\n<ul class=\"pre-numbering\">\n<li>1<\/li>\n<li>2<\/li>\n<li>3<\/li>\n<li>4<\/li>\n<\/ul>\n<p>4\u3001\u68c0\u67e5\u7248\u672c<\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u68c0\u67e5\u4f60\u5b89\u88c5\u7684Wine\u7684\u7248\u672c<br \/>\n32\u4f4d\u7cfb\u7edf<\/p>\n<pre class=\"prettyprint\"><code class=\"has-numbering\"># wine \u2013version\r\n\r\nwine-1.7.24\r\n\uff08\u6211\u8fd9\u91cc\u8981\u7528wine\u00a0--version\u624d\u80fd\u663e\u793a\u7248\u672c<\/code><\/pre>\n<ul class=\"pre-numbering\">\n<li>1<\/li>\n<li>2<\/li>\n<li>3<\/li>\n<\/ul>\n<p>64\u4f4d\u7cfb\u7edf<\/p>\n<pre class=\"prettyprint\"><code class=\"has-numbering\"># wine64 \u2013version\r\n\r\nwine-1.7.24\r\n<\/code><\/pre>\n<ul class=\"pre-numbering\">\n<li>1<\/li>\n<li>2<\/li>\n<li>3<\/li>\n<\/ul>\n<p>5\u3001Wine\u600e\u4e48\u7528<\/p>\n<p>\u8981\u4f7f\u7528Wine\u9700\u8981\u4f60\u767b\u5f55\u5230\u56fe\u5f62\u754c\u9762\uff0c\u5982\u4f55\u5b89\u88c5\u56fe\u5f62\u754c\u9762\u53c2\u8003\u6628\u5929\u7684\u6587\u7ae0\uff1aCentos VNC \u8fdc\u7a0b\u684c\u9762\u7a0b\u5e8f\u7684\u5b89\u88c5\u4f7f\u7528\uff0c\u4e4b\u540e\u4e0b\u8f7d\u4f60\u9700\u8981\u7684windows\u7a0b\u5e8f\uff0c\u6bd4\u5982\uff1aPuTTY\uff0c\u76f4\u63a5\u5728\u7a0b\u5e8f\u4e0a\u53f3\u952e\u201cOpen withWine Windows Program Loader\u201d\u5c31\u53ef\u4ee5\u4f7f\u7528Wine\u8fd0\u884c\u3002<\/p>\n<p>\u5f53\u7136\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u7528Wine\u6765\u8fd0\u884c\u4f60\u4e0b\u8f7d\u7684\u7a0b\u5e8f<\/p>\n<pre class=\"prettyprint\"><code class=\"has-numbering\">wine putty.exe<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u8f6c\u8f7d\u4e00\u7bc7\uff0c\u539f\u6587\u5730\u5740\uff1ahttp:\/\/www.centoscn.com\/image-text\/install\/20 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,2],"tags":[],"class_list":["post-114","post","type-post","status-publish","format-standard","hentry","category-other","category-index"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=114"}],"version-history":[{"count":1,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":115,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/114\/revisions\/115"}],"wp:attachment":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}