{"id":2550,"date":"2022-12-01T19:27:02","date_gmt":"2022-12-01T10:27:02","guid":{"rendered":"https:\/\/mattyan.net\/blog\/?p=2550"},"modified":"2022-12-01T19:27:02","modified_gmt":"2022-12-01T10:27:02","slug":"scoop%e3%81%a7msys2%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%ae%e5%af%be%e5%bf%9c%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/mattyan.net\/blog\/?p=2550","title":{"rendered":"Scoop\u3067msys2\u304c\u66f4\u65b0\u3055\u308c\u305f\u3068\u304d\u306e\u5bfe\u5fdc\u30e1\u30e2"},"content":{"rendered":"\n<p>Scoop\u306b\u3088\u3063\u3066msys2\u304c\u66f4\u65b0\u3055\u308c\u3001\u74b0\u5883\u304c\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u305f\u3068\u304d\u306e\u5bfe\u5fdc\u30e1\u30e2<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>\u65e7\u74b0\u5883\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u8d77\u52d5\u3055\u305b\u3066\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3068\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b3\u30de\u30f3\u30c9\u304c\u4f5c\u308c\u308b\u3002<\/p>\n\n\n\n<pre><code class=\"language-bash\" data-line=\"\"> echo pacman -S $(pacman -Qe | awk -e &#039;{ print $1 }&#039; | grep -v base | grep -v filesystem | grep -v msys2-runtime | sed -z &quot;s\/\\n\/ \/g&quot;)<\/code><\/pre>\n\n\n\n<p>\u65b0\u74b0\u5883\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u8d77\u52d5\u3055\u305b\u3066\u3044\u308d\u3044\u308d\u521d\u671f\u5316\u304c\u7d42\u308f\u3063\u305f\u3042\u3068\u3001<\/p>\n\n\n\n<pre><code class=\"language-bash\" data-line=\"\">pacman -Syu<\/code><\/pre>\n\n\n\n<p>\u3067\u66f4\u65b0\u3057\u305f\u3042\u3068\u3067\u6700\u521d\u306e\u30b3\u30de\u30f3\u30c9\u3067\u4f5c\u3063\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3068\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u4f55\u3057\u3066\u308b\u306e\u3055<\/h4>\n\n\n\n<pre><code class=\"language-bash\" data-line=\"\">pacman -Qe<\/code><\/pre>\n\n\n\n<p>\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3002\u305f\u3060\u3057\u3053\u306e\u307e\u307e\u3060\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u304c\u542b\u307e\u308c\u308b\u306e\u3067<\/p>\n\n\n\n<pre><code class=\"language-bash\" data-line=\"\">awk -e &#039;{ print $1 }&#039;<\/code><\/pre>\n\n\n\n<p>\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3060\u3051\u53d6\u5f97\u3002<\/p>\n\n\n\n<p>base, filesystem, msys2-runtime\u306e3\u3064\u306fmsys2\u306b\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u3044\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u5fc5\u8981\u306f\u306a\u3044\u306e\u3067grep -v\u3067\u9664\u53bb\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306bsed\u3067\u6539\u884c\u3092\u7a7a\u767d\u306b\u7f6e\u304d\u63db\u3048\u3066\u305d\u306e\u7d50\u679c\u3092echo\u306e\u51fa\u529b\u306b\u3064\u306a\u3052\u305f\u3089\u5b8c\u6210\u3002<\/p>\n\n\n\n<pre>$ echo pacman -S $(pacman -Qe | awk -e '{ print $1 }' | grep -v base | grep -v filesystem | grep -v msys2-runtime | sed -z \"s\/\\n\/ \/g\")\npacman -S make mingw-w64-x86_64-clang mingw-w64-x86_64-clang-analyzer mingw-w64-x86_64-clang-tools-extra mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-gdb mingw-w64-x86_64-gst-devtools mingw-w64-x86_64-gst-plugins-bad mingw-w64-x86_64-gst-plugins-good mingw-w64-x86_64-gst-plugins-ugly mingw-w64-x86_64-make mingw-w64-x86_64-ntldd-git mingw-w64-x86_64-python-conan<\/pre>\n\n\n\n<p>\u5b9f\u306e\u3068\u3053\u308d\u6700\u521d\u306emake\u3068mingw-w64-x86_64-python-conan\u306f\u5fc5\u8981\u306a\u3044\u306e\u3067\u9664\u53bb\u3057\u3066\u304b\u3089\u5b9f\u884c\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u6ce8\u610f\u4e8b\u9805\u3068\u3057\u3066\u3001sed -z\u306fGNU sed\u306b\u3057\u304b\u306a\u3044\u3063\u307d\u3044\u3002BSD sed\u3092\u4f7f\u3046\u6a5f\u4f1a\u306f\u307e\u3041\u7121\u3044\u3051\u3069\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u305d\u308c\u306f\u305d\u3046\u3068\u3057\u3066<\/h2>\n\n\n\n<p>\u6b63\u76f4Scoop\u3067\u66f4\u65b0\u5165\u308b\u305f\u3073\u306b\u3042\u308c\u3053\u308c\u3084\u308b\u306e\u3082\u9762\u5012\u306a\u306e\u3067\u3001\u958b\u767a\u74b0\u5883\u5909\u3048\u305f\u307b\u3046\u304c\u3044\u3044\u306e\u304b\u306a\u3002<\/p>\n\n\n\n<p>WSL\u4e0a\u306eUbuntu\u306b\u74b0\u5883\u69cb\u7bc9\u3057\u3066\u3001\u305d\u3063\u3061\u306bVSCode\u306e\u30ea\u30e2\u30fc\u30c8\u958b\u767a\u3092\u4f7f\u3046\u304b\u3001Ubuntu\u4e0a\u306bVSCode\u5165\u308c\u3066WSLg\u3067GUI\u51fa\u3057\u3066\u4f7f\u3046\u304b\u3002<br \/>\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3059\u308b\u3060\u3051\u306a\u3089WSL\u74b0\u5883\u304b\u3089Windows\u74b0\u5883\u306e\u30d5\u30a1\u30a4\u30eb\u898b\u3048\u308b\u3057\u3002<\/p>\n\n\n\n<p>\u554f\u984c\u70b9\u3068\u3057\u3066\u306fWSL\u3067USB\u4f7f\u3046\u306e\u304c\u304b\u306a\u308a\u9762\u5012\u306a\u3053\u3068\u304b\u306a\u2026\u2026Web\u30ab\u30e1\u30e9\u306e\u6620\u50cf\u3042\u308c\u3053\u308c\u304c\u3067\u304d\u306a\u3044\u306e\u306f\u3061\u3087\u3063\u3068\u56f0\u308b\u304b\u306a\u2026\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scoop\u306b\u3088\u3063\u3066msys2\u304c\u66f4\u65b0\u3055\u308c\u3001\u74b0\u5883\u304c\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u305f\u3068\u304d\u306e\u5bfe\u5fdc\u30e1\u30e2<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2550","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2550"}],"version-history":[{"count":0,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2550\/revisions"}],"wp:attachment":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}