{"id":18870,"date":"2015-04-30T06:36:39","date_gmt":"2015-04-29T22:36:39","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/04\/30\/%e5%9c%a8-ubuntu-linux-x64-%e4%b8%8a%e5%ae%89%e8%a3%9d-scratch-2-%e5%a4%b1%e6%95%97%e7%af%87\/"},"modified":"2021-03-18T17:24:25","modified_gmt":"2021-03-18T09:24:25","slug":"%e5%9c%a8-ubuntu-linux-x64-%e4%b8%8a%e5%ae%89%e8%a3%9d-scratch-2-%e5%a4%b1%e6%95%97%e7%af%87","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/04\/30\/%e5%9c%a8-ubuntu-linux-x64-%e4%b8%8a%e5%ae%89%e8%a3%9d-scratch-2-%e5%a4%b1%e6%95%97%e7%af%87\/","title":{"rendered":"\u5728 Ubuntu Linux x64 \u4e0a\u5b89\u88dd Scratch 2 &#8211; \u5931\u6557\u7bc7"},"content":{"rendered":"<p>\u56e0\u70ba\u4e4b\u524d\u5728 Ubuntu Linux \u5b89\u88dd Adobe Air \/ Scratch 2 \u6642\uff0c\u90fd\u662f\u5728 x86 \u5e73\u53f0\u4e0a\u5b89\u88dd\uff0c\u7279\u5730\u5728 Ubuntu MATE 14.04-2 x64 \u5e73\u53f0\u8a66\u8a66\uff01<br \/>\u52a0\u5165 i386 \u5e73\u53f0<br \/>$ <span style=\"color: #ff0000\">sudo dpkg &#8211;add-architecture i386<\/span><br \/>$ <span style=\"color: #ff0000\">dpkg &#8211;print-architecture<\/span><br \/><span style=\"color: #0000ff\">amd64<\/span><br \/>$ <span style=\"color: #ff0000\">dpkg &#8211;print-foreign-architectures<\/span><br \/><span style=\"color: #0000ff\">i386<\/span><br \/>\u9032\u884c\u5957\u4ef6\u5eab\u66f4\u65b0\u53ca\u5b89\u88dd\u5957\u4ef6<br \/>$ <span style=\"color: #ff0000\">sudo apt-get update<\/span><br \/>$ <span style=\"color: #ff0000\">sudo apt-get install lib32bz2-1.0 lib32ncurses5 lib32tinfo5 lib32z1 libc6-i386<\/span><br \/>$ <span style=\"color: #ff0000\">sudo dpkg -i adobeair_2.6.0.19170-franklin_amd64.deb<\/span>[@more@]\u958b\u59cb\u5b89\u88dd Scratch 2.x \u53ca\u89e3\u6c7a\u932f\u8aa4\u8a0a\u606f<br \/>$ <span style=\"color: #ff0000\">sudo \/etc\/alternatives\/airappinstaller .\/Scratch-435.air<\/span><br \/><span style=\"color: #0000ff\">\/etc\/alternatives\/airappinstaller: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory<\/span><br \/>$ <span style=\"color: #ff0000\">sudo apt-get install libstdc++6:i386<\/span><\/p>\n<p>$ <span style=\"color: #ff0000\">sudo \/etc\/alternatives\/airappinstaller .\/Scratch-435.air<\/span><br \/><span style=\"color: #0000ff\">Error loading the runtime (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)<\/span><br \/>$<span style=\"color: #ff0000\"> sudo apt-get install libgtk2.0-0:i386<\/span><\/p>\n<p>$ <span style=\"color: #ff0000\">sudo \/etc\/alternatives\/airappinstaller .\/Scratch-435.air<\/span><br \/><span style=\"color: #0000ff\">Error loading the runtime (libxml2.so.2: cannot open shared object file: No such file or directory)<\/span><br \/>$ <span style=\"color: #ff0000\">sudo apt-get install libxml2:i386<\/span><\/p>\n<p>$ <span style=\"color: #ff0000\">sudo \/etc\/alternatives\/airappinstaller .\/Scratch-435.air<\/span><br \/><span style=\"color: #0000ff\">Error loading the runtime (libnss3.so: cannot open shared object file: No such file or directory)<\/span><br \/>$ <span style=\"color: #ff0000\">sudo apt-get install libnss3:i386<\/span><\/p>\n<p>$ <span style=\"color: #ff0000\">\/usr\/bin\/Adobe AIR Application Installer .\/Scratch-435.air<\/span><br \/><span style=\"color: #0000ff\">Gtk-Message: Failed to load module &#8220;gail&#8221;<\/span><br \/><span style=\"color: #0000ff\">Gtk-Message: Failed to load module &#8220;atk-bridge&#8221;<\/span><br \/><span style=\"color: #0000ff\">Gtk-Message: Failed to load module &#8220;canberra-gtk-module&#8221;<\/span><br \/><span style=\"color: #0000ff\">unexpected error: ArgumentError: Absolute path of the air file needs to be specified.<\/span><br \/>$ <span style=\"color: #ff0000\">sudo apt-get install libatk-adaptor:i386 libgail-common:i386<\/span><\/p>\n<p>$ <span style=\"color: #ff0000\">\/usr\/bin\/Adobe AIR Application Installer .\/Scratch-435.air<\/span><br \/><span style=\"color: #0000ff\">Gtk-Message: Failed to load module &#8220;canberra-gtk-module&#8221;<\/span><br \/><span style=\"color: #0000ff\">unexpected error: ArgumentError: Absolute path of the air file needs to be specified.<\/span><br \/>$ <span style=\"color: #ff0000\">sudo apt-get install libcanberra-gtk-module:i386<\/span><\/p>\n<p>\u51fa\u73fe<br \/><span style=\"color: #0000ff\">(Adobe AIR Application Installer:9911): Gtk-WARNING **: \u7121\u6cd5\u5728 module_path \u4e2d\u627e\u51fa\u4f48\u666f\u4e3b\u984c\u5f15\u64ce\uff1a\u2018murrine\u2019<\/span><br \/>$ <span style=\"color: #ff0000\">sudo apt-get install gtk2-engines-murrine:i386<\/span><\/p>\n<p>\u4ee5\u5716\u5f62\u6a21\u5f0f\u5b89\u88dd<br \/><a id=\"res_3061849\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3061849.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3061849.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p><a id=\"res_3061848\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3061848.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3061848.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p><a id=\"res_3061850\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3061850.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3061850.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p><a id=\"res_3061851\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3061851.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3061851.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000\">\u5c31\u5361\u5728\u9019\u88e1\uff01<\/span><br \/><a id=\"res_3061852\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3061852.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3061852.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u56e0\u70ba\u4e4b\u524d\u5728 Ubuntu Linux \u5b89\u88dd Adobe Air \/ Scratch 2 \u6642\uff0c\u90fd\u662f\u5728 x86 \u5e73 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/04\/30\/%e5%9c%a8-ubuntu-linux-x64-%e4%b8%8a%e5%ae%89%e8%a3%9d-scratch-2-%e5%a4%b1%e6%95%97%e7%af%87\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008\u5728 Ubuntu Linux x64 \u4e0a\u5b89\u88dd Scratch 2 &#8211; \u5931\u6557\u7bc7\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[158,119],"tags":[],"class_list":["post-18870","post","type-post","status-publish","format-standard","hentry","category-c-83499","category-c-78464"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["572196"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18870"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=18870"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18870\/revisions"}],"predecessor-version":[{"id":20459,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18870\/revisions\/20459"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=18870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=18870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=18870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}