{"id":32175,"date":"2022-12-21T07:02:53","date_gmt":"2022-12-11T21:36:27","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/"},"modified":"2024-04-29T06:18:07","modified_gmt":"2024-04-28T22:18:07","slug":"%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/","title":{"rendered":"\u8fd0\u884cUbuntu 22.04\u4e0a\u7684Elixir Desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f"},"content":{"rendered":"<p>\u4ece\u672a\u5b89\u88c5\u4efb\u4f55\u7a0b\u5e8f\u7684Ubuntu 22.04\u7cfb\u7edf\u5f00\u59cb\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4f7fElixir Desktop\u7684\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u80fd\u591f\u8fd0\u884c\uff1a<\/p>\n<p>\u6211\u5728Hyper-V\u7684\u865a\u62df\u670d\u52a1\u5668\u4e0a\u8fdb\u884c\u4e86\u3002<\/p>\n<pre class=\"post-pre\"><code>sudo apt -y install git\r\nsudo apt -y install curl\r\ngit clone https:\/\/github.com\/asdf-vm\/asdf.git ~\/.asdf --branch v0.10.2\r\necho \". $HOME\/.asdf\/asdf.sh\" &gt;&gt; ~\/.bashrc\r\n<\/code><\/pre>\n<p>\u91cd\u65b0\u767b\u5f55<\/p>\n<pre class=\"post-pre\"><code>asdf plugin add erlang\r\nasdf plugin add elixir\r\nsudo apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libwxgtk-webview3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk\r\nasdf install erlang 25.1.1\r\nasdf install elixir 1.14.0-otp-25\r\nasdf global erlang 25.1.1\r\nasdf global elixir 1.14.0-otp-25\r\nasdf plugin add nodejs\r\nasdf install nodejs 19.0.0\r\nasdf global nodejs 19.0.0\r\ngit clone https:\/\/github.com\/elixir-desktop\/desktop-example-app.git\r\ncd desktop-example-app\r\ncd assets\/\r\nnpm install\r\ncd ..\r\nmix deps.get\r\nmix assets.deploy\r\n.\/run\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d10c537434c4406bf1e67\/5-0.png\" alt=\"image.png\" \/><\/div>\n<p>Node.js\u5728Elixir Desktop\u4e2d\u5e76\u975e\u5fc5\u9700\uff0c\u4f46\u7531\u4e8e\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u9700\u8981\uff0c\u56e0\u6b64\u5b89\u88c5\u4e86\u5b83\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece\u672a\u5b89\u88c5\u4efb\u4f55\u7a0b\u5e8f\u7684Ubuntu 22.04\u7cfb\u7edf\u5f00\u59cb\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4f7fElixir Desktop\u7684\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u80fd [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32175","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8fd0\u884cUbuntu 22.04\u4e0a\u7684Elixir Desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u8fd0\u884cubuntu-22-04\u4e0a\u7684elixir-desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8fd0\u884cUbuntu 22.04\u4e0a\u7684Elixir Desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f\" \/>\n<meta property=\"og:description\" content=\"\u4ece\u672a\u5b89\u88c5\u4efb\u4f55\u7a0b\u5e8f\u7684Ubuntu 22.04\u7cfb\u7edf\u5f00\u59cb\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4f7fElixir Desktop\u7684\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u80fd [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u8fd0\u884cubuntu-22-04\u4e0a\u7684elixir-desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-11T21:36:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T22:18:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d10c537434c4406bf1e67\/5-0.png\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/\",\"name\":\"\u8fd0\u884cUbuntu 22.04\u4e0a\u7684Elixir Desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-12-11T21:36:27+00:00\",\"dateModified\":\"2024-04-28T22:18:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8fd0\u884cUbuntu 22.04\u4e0a\u7684Elixir Desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u8fd0\u884cUbuntu 22.04\u4e0a\u7684Elixir Desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u8fd0\u884cubuntu-22-04\u4e0a\u7684elixir-desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f\/","og_locale":"zh_CN","og_type":"article","og_title":"\u8fd0\u884cUbuntu 22.04\u4e0a\u7684Elixir Desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f","og_description":"\u4ece\u672a\u5b89\u88c5\u4efb\u4f55\u7a0b\u5e8f\u7684Ubuntu 22.04\u7cfb\u7edf\u5f00\u59cb\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4f7fElixir Desktop\u7684\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u80fd [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u8fd0\u884cubuntu-22-04\u4e0a\u7684elixir-desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-12-11T21:36:27+00:00","article_modified_time":"2024-04-28T22:18:07+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d10c537434c4406bf1e67\/5-0.png"}],"author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/","name":"\u8fd0\u884cUbuntu 22.04\u4e0a\u7684Elixir Desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-12-11T21:36:27+00:00","dateModified":"2024-04-28T22:18:07+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u8fd0\u884cUbuntu 22.04\u4e0a\u7684Elixir Desktop\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u76f4\u81f3\u6210\u529f"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%bf%90%e8%a1%8cubuntu-22-04%e4%b8%8a%e7%9a%84elixir-desktop%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e7%9b%b4%e8%87%b3%e6%88%90%e5%8a%9f\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/32175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=32175"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/32175\/revisions"}],"predecessor-version":[{"id":83557,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/32175\/revisions\/83557"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=32175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=32175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=32175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}