{"id":2663,"date":"2020-04-23T21:46:02","date_gmt":"2020-04-23T12:46:02","guid":{"rendered":"https:\/\/www.beeete2.com\/blog\/?p=2663"},"modified":"2020-04-24T22:25:33","modified_gmt":"2020-04-24T13:25:33","slug":"windows-subsystem-for-linux-wsl%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%81%a8ubuntu%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.beeete2.com\/blog\/?p=2663","title":{"rendered":"Windows Subsystem for Linux (WSL)\u306e\u8a2d\u5b9a\u3068Ubuntu\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5"},"content":{"rendered":"<p>Windows Subsystem for Linux(WSL)\u3092\u6709\u52b9\u306b\u3057\u3066Ubuntu\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<h2>Windows Subsystem for Linux(WSL)\u306e\u6709\u52b9\u5316\u65b9\u6cd5<\/h2>\n<p>Hyper-V\u306e\u3068\u304d\u3082\u305d\u3046\u3067\u3059\u304cWSL\u3082\u521d\u671f\u72b6\u614b\u3067\u306f\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u6709\u52b9\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<div class=\"st-mybox  has-title \" style=\"background:#FFFDE7;border-color:#FFD54F;border-width:2px;border-radius:5px;margin: 25px 0;\"><p class=\"st-mybox-title\" style=\"color:#FFD54F;font-weight:bold;text-shadow: #fff 3px 0px 0px, #fff 2.83487px 0.981584px 0px, #fff 2.35766px 1.85511px 0px, #fff 1.62091px 2.52441px 0px, #fff 0.705713px 2.91581px 0px, #fff -0.287171px 2.98622px 0px, #fff -1.24844px 2.72789px 0px, #fff -2.07227px 2.16926px 0px, #fff -2.66798px 1.37182px 0px, #fff -2.96998px 0.42336px 0px, #fff -2.94502px -0.571704px 0px, #fff -2.59586px -1.50383px 0px, #fff -1.96093px -2.27041px 0px, #fff -1.11013px -2.78704px 0px, #fff -0.137119px -2.99686px 0px, #fff 0.850987px -2.87677px 0px, #fff 1.74541px -2.43999px 0px, #fff 2.44769px -1.73459px 0px, #fff 2.88051px -0.838246px 0px;\"><i class=\"fa fa-check-circle st-css-no\" aria-hidden=\"true\"><\/i>\u30dd\u30a4\u30f3\u30c8<\/p><div class=\"st-in-mybox\">\n<p>\u672a\u78ba\u8a8d\u3067\u3059\u304cWindows 10 Home\u3067\u306fWSL\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<\/div><\/div><\/p>\n<p>Windows\u306e\u8a2d\u5b9a\u3068\u8a00\u3048\u3070\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u304b\u3089\u30dd\u30c1\u30dd\u30c1\u3057\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n\u3044\u3064\u304b\u3089\u3042\u3063\u305f\u306e\u304b\u8a73\u3057\u304f\u899a\u3048\u3066\u3044\u306a\u3044\u306e\u3067\u3059\u304c\u691c\u7d22\u304c\u3059\u3054\u3044\u9032\u6b69\u3057\u3066\u3044\u3066\u3001\u6700\u8fd1\u306f\u306a\u3093\u3067\u3082\u691c\u7d22\u304b\u3089\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n\u691c\u7d22\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8<code>Windows\u30ad\u30fc + s<\/code>\u3067<code>Windows \u306e\u6a5f\u80fd\u306e\u6709\u52b9\u5316\u307e\u305f\u306f\u7121\u52b9\u5316<\/code>\u3068\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30de\u30a6\u30b9\u3092\u52d5\u304b\u3059\u3053\u3068\u306a\u304f\u8a2d\u5b9a\u753b\u9762\u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation1.png\"><img decoding=\"async\" class=\"alignnone wp-image-2664\" src=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation1.png\" alt=\"\" width=\"744\" height=\"607\" srcset=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation1.png 1176w, https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation1-300x245.png 300w, https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation1-1024x836.png 1024w, https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation1-768x627.png 768w\" sizes=\"(max-width: 744px) 100vw, 744px\" \/><\/a><\/p>\n<p>\u6b8b\u5ff5\u306a\u304c\u3089\u3053\u3053\u304b\u3089\u306f\u518d\u3073\u30de\u30a6\u30b9\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u6a5f\u80fd\u306e\u4e00\u89a7\u306b<code>WIndows Subsystem for Linux<\/code>\u304c\u3042\u308b\u306e\u3067\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation2.png\"><img decoding=\"async\" class=\"alignnone wp-image-2665\" src=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation2.png\" alt=\"\" width=\"432\" height=\"383\" srcset=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation2.png 694w, https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation2-300x266.png 300w\" sizes=\"(max-width: 432px) 100vw, 432px\" \/><\/a><\/p>\n<p>\u518d\u8d77\u52d5\u3092\u6c42\u3081\u3089\u308c\u308b\u306e\u3067\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<h2>Ubuntu\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u6614\u304b\u3089Windows\u3092\u89e6\u3063\u3066\u3044\u308b\u4eba\u9593\u3068\u3057\u3066\u306f\u306a\u304b\u306a\u304b\u885d\u6483\u7684\u306a\u306e\u3067\u3059\u304c\u3001Windows Store\u304b\u3089Ubuntu\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\nWindows Store\u3092\u958b\u3044\u3066<code>Ubuntu<\/code>\u3068\u691c\u7d22\u3059\u308b\u3068\u3044\u304f\u3064\u304b\u5019\u88dc\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067<code>Ubuntu 18.04 LTS<\/code>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation3.png\"><img decoding=\"async\" class=\"alignnone wp-image-2666\" src=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation3.png\" alt=\"\" width=\"700\" height=\"424\" srcset=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation3.png 795w, https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation3-300x182.png 300w, https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation3-768x465.png 768w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p>\u7121\u4e8b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u3059\u308c\u3070\u3001\u306a\u3093\u3068Windows\u306bUbuntu\u304c\u8d77\u52d5\u3067\u304d\u308b\u74b0\u5883\u304c\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3057\u305f\u3002<\/p>\n<h2>Ubuntu\u306e\u8d77\u52d5<\/h2>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u8a66\u3057\u306b\u8d77\u52d5\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n\u307e\u305f<code>Windows\u30ad\u30fc + s<\/code>\u3067<code>Ubuntu<\/code>\u3068\u5165\u529b\u3059\u308b\u3068\u5148\u7a0b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f<code>Ubuntu 18.04 LTS<\/code>\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>DOS\u7a93\u3063\u307d\u3044\u753b\u9762\u304c\u8d77\u52d5\u3057\u3066<code>Enter new UNIX username:<\/code>\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n\u3059\u308b\u3068Ubuntu\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation4.png\"><img decoding=\"async\" class=\"alignnone wp-image-2668\" src=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation4.png\" alt=\"\" width=\"527\" height=\"188\" srcset=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation4.png 765w, https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/wsl_installation4-300x107.png 300w\" sizes=\"(max-width: 527px) 100vw, 527px\" \/><\/a><\/p>\n<h3>Ubuntu\u8d77\u52d5\u6642\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u9032\u307e\u306a\u3044\u5834\u5408<\/h3>\n<p>\u81ea\u5206\u306e\u74b0\u5883\u3067\u521d\u3081\u3066Ubuntu\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3068\u3053\u308d\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre><code class=\"language-text\">\nInstalling. this may take a few minutes...\nWslRegisterDstribution failed with error: 0x8007019e\nThe Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.\n<\/code><\/pre>\n<p>\u305d\u306e\u307e\u307e\u306e\u610f\u5473\u306a\u306e\u3067\u3059\u304cWSL\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u306a\u3044\u304b\u3089\u6709\u52b9\u306b\u3057\u3066\u3082\u3046\u4e00\u5ea6\u8a66\u3057\u3066\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3059\u304c\u3001WSL\u306f\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n1. Ubuntu\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n2.\u00a0 WSL\u3092\u30aa\u30d5\u306b\u3057\u3066\u518d\u8d77\u52d5<br \/>\n3. \u305d\u306e\u5f8c\u518d\u3073\u30aa\u30f3\u306b\u3057\u3066\u518d\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u624b\u9806\u3067\u7121\u4e8b\u306b\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u6700\u65b0\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b<\/h2>\n<p>\u3053\u306e\u307e\u307e\u3067\u3082\u4f7f\u3048\u308b\u306e\u3067\u3059\u304c\u3001OS\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u53e4\u304b\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u6700\u65b0\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u65b9\u6cd5\u306f<a href=\"https:\/\/qiita.com\/masoo\/items\/8ebc51a6a9f32417d4a3\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u65b9\u6cd5<\/a>\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<\/p>\n<pre><code class=\"language-bash\">\nsudo apt update\nsudo apt dist-upgrade\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4eca\u56de\u306fWindows Subsystem for Linux\u3092\u6709\u52b9\u306b\u3057Ubuntu\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n\u3067\u3082\u306a\u3093\u304b\u3001\u3053\u306e\u72b6\u614b\u3060\u3068\u30bf\u30fc\u30df\u30ca\u30eb\u74b0\u5883\u304c\u7729\u3057\u304f\u3066\u4f7f\u3044\u306b\u304f\u3044\u3067\u3059\u3088\u306d\u3002<br \/>\n\u6b21\u306f<a href=\"https:\/\/www.beeete2.com\/blog\/?p=2676\">Windows Terminal\u3067WSL Ubuntu\u306e\u74b0\u5883\u3092\u6574\u3048\u308b<\/a>\u3067\u3088\u308a\u30bf\u30fc\u30df\u30ca\u30eb\u3068\u3057\u3066\u4f7f\u3044\u3084\u3059\u304f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\t\t\t<a href=\"https:\/\/www.beeete2.com\/blog\/?p=2676\" class=\"st-cardlink\">\n\t\t\t<div class=\"kanren st-cardbox\" >\n\t\t\t\t\t\t\t\t<dl class=\"clearfix\">\n\t\t\t\t\t<dt class=\"st-card-img\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/PowerShell_Core_6.0_icon-150x150.png\" class=\"attachment-st_thumb150 size-st_thumb150 wp-post-image\" alt=\"\" srcset=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/PowerShell_Core_6.0_icon-150x150.png 150w, https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/PowerShell_Core_6.0_icon.png 256w, https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2020\/04\/PowerShell_Core_6.0_icon-100x100.png 100w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t<\/dt>\n\t\t\t\t\t<dd>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"st-cardbox-t\">Windows Terminal\u3067WSL Ubuntu\u306e\u74b0\u5883\u3092\u6574\u3048\u308b<\/h5>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"st-card-excerpt smanone\">\n\t\t\t\t\t\t\t\t<p>Python\u74b0\u5883\u3092\u6574\u3048\u308b\u305f\u3081\u306bWSL\u3092\u6709\u52b9\u306b\u3057\u3066Ubuntu\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002 \u8a73\u7d30\u306fWindows Subsystem for Linux (WSL)\u306e\u8a2d\u5b9a\u3068Ubuntu\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3092\u3054 &#8230; <\/p>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"cardbox-more\">\u7d9a\u304d\u3092\u898b\u308b<\/p>\n\t\t\t\t\t\t\t\t\t\t\t<\/dd>\n\t\t\t\t<\/dl>\n\t\t\t<\/div>\n\t\t\t<\/a>\n\t\t\t<\/p>\n<h2>\u53c2\u8003\u30ea\u30f3\u30af<\/h2>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/windows\/python\/web-frameworks\" target=\"_blank\" rel=\"noopener noreferrer\">Windows \u3067 Web \u958b\u767a\u306b Python \u3092\u4f7f\u7528\u3059\u308b<\/a><\/p>\n<p><a href=\"https:\/\/qiita.com\/masoo\/items\/8ebc51a6a9f32417d4a3\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u65b9\u6cd5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows Subsystem for Linux(WSL)\u3092\u6709\u52b9\u306b\u3057\u3066Ubuntu\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 Windows Subsystem for Linux(WSL)\u306e\u6709\u52b9\u5316\u65b9\u6cd5 Hyper &#8230; <\/p>\n","protected":false},"author":1,"featured_media":2670,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[102,70],"tags":[105],"views":3888,"_links":{"self":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2663"}],"collection":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2663"}],"version-history":[{"count":9,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2663\/revisions"}],"predecessor-version":[{"id":2688,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2663\/revisions\/2688"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/2670"}],"wp:attachment":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}