{"id":3618,"date":"2018-01-12T10:04:18","date_gmt":"2018-01-12T01:04:18","guid":{"rendered":"http:\/\/tsaitoh.net\/wp\/?p=3618"},"modified":"2018-07-01T06:56:38","modified_gmt":"2018-06-30T21:56:38","slug":"seg-fault-powershell","status":"publish","type":"post","link":"https:\/\/tsaitoh.net\/wp\/2018\/01\/12\/seg-fault-powershell\/","title":{"rendered":"PowerShell\u304a\u3061\u308b\u305e&#8230;"},"content":{"rendered":"<p>Mac \u3084 Linux \u3067 Microsoft \u306e PowerShell \u304c\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3061\u3087\u3044\u3068\u30c6\u30b9\u30c8\u3002<\/p>\n<pre>\r\n$ curl https:\/\/packages.microsoft.com\/keys\/microsoft.asc \u00a5\r\n       | sudo apt-key add -\r\n$ sudo sh -c 'echo \"deb [arch=amd64] \u00a5\r\n  https:\/\/packages.microsoft.com\/repos\/microsoft-debian-stretch-prod stretch main\" \u00a5\r\n  > \/etc\/apt\/sources.list.d\/microsoft.list'\r\n$ sudo aptitude update\r\n$ sudo aptitude install powershell\r\n<\/pre>\n<p>\u3093\u3067\u3001\u4f7f\u3044\u65b9\u3082\u3088\u304f\u77e5\u3089\u306a\u3044\u3051\u3069\u3001\u3072\u3068\u307e\u305a pwsh \u8d77\u52d5\u3002<\/p>\n<pre>\r\nroot@host:\/home\/foobar# pwsh\r\nPowerShell v6.0.0\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\n\r\nhttps:\/\/aka.ms\/pscore6-docs\r\nType 'help' to get help.\r\n\r\nPS \/home\/ei\/t-saitoh> Segmentation fault\r\nroot@host:\/home\/foobar#\r\n<\/pre>\n<p>\u8d77\u52d5\u3059\u308b\u3051\u3069\u300130\u79d2\u307b\u3069\u307b\u3063\u3066\u304a\u304f\u3068\u3001\u52dd\u624b\u306b Segmentation Fault \u3067\u843d\u3061\u308b\u3002<br \/>\n\u5f79\u306b\u7acb\u305f\u3093\u3058\u3083\u3093\u3002\u65e9\u3005\u306b\u3001&#8221;aptitude purge powershell&#8221;\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mac \u3084 Linux \u3067 Microsoft \u306e PowerShell \u304c\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3061\u3087\u3044\u3068\u30c6\u30b9\u30c8\u3002 $ curl https:\/\/packages.microsoft.com\/keys\/micro [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,43],"tags":[106],"class_list":["post-3618","post","type-post","status-publish","format-standard","hentry","category-debian","category-windows","tag-power-shell"],"_links":{"self":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts\/3618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/comments?post=3618"}],"version-history":[{"count":0,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts\/3618\/revisions"}],"wp:attachment":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/media?parent=3618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/categories?post=3618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/tags?post=3618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}