{"id":754,"date":"2021-04-18T07:49:25","date_gmt":"2021-04-17T22:49:25","guid":{"rendered":"https:\/\/sirius10.dip.jp\/blog\/wordpress\/?p=754"},"modified":"2021-04-18T07:49:27","modified_gmt":"2021-04-17T22:49:27","slug":"post-754","status":"publish","type":"post","link":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/04\/18\/754\/","title":{"rendered":"Debian buster \u3067\u8a66\u3059\u3002(wine)"},"content":{"rendered":"\n<p>\u3000x86 \u74b0\u5883\u306f stretch \u3067\u8a66\u3057\u3066\u3044\u305f\u306e\u3067\u3001wine \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u3067\u3059\u3002\u306a\u306e\u3067\u3001buster \u3092\u5165\u308c\u3066\u8a66\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3069\u3046\u305b\u4f7f\u3048\u306a\u3044\u306e\u3067\u3001\/x86 \u3068 \/x86_64 \u306f\u524a\u9664\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3000\u6700\u521d\u304b\u3089\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"console\">$ sudo mkdir \/x86\/<br>$ sudo debootstrap &#8211;foreign &#8211;arch i386 buster \/x86 http:\/\/ftp.us.debian.org\/debian<br>$ sudo mount -t sysfs sys \/x86\/sys\/<br>$ sudo mount -t proc proc \/x86\/proc\/<br>$ sudo mount &#8211;bind \/dev \/x86\/dev\/<br>$ sudo mount &#8211;bind \/dev\/pts \/x86\/dev\/pts\/<br>$ sudo mount &#8211;bind \/dev\/shm \/x86\/dev\/shm\/<br>$ sudo cp \/usr\/bin\/qemu-i386-static \/x86\/usr\/bin\/<br>$ sudo chroot \/x86\/ \/debootstrap\/debootstrap &#8211;second-stage<br>$ sudo chroot \/x86\/ \/bin\/su -l root<br># apt -y install locales<br># vi \/etc\/locale.gen (ja_JP.UTF-8\u306e\u884c\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u89e3\u9664)<br># locale-gen<br># update-locale LANG=ja_JP.UTF-8<br># echo &#8220;export LANGUAGE=ja_JP.UTF-8&#8221; &gt;&gt; .bashrc<br># echo &#8220;export LC_ALL=ja_JP.UTF-8&#8221; &gt;&gt; .bashrc<br># echo &#8220;export TZ=JST-9&#8221; &gt;&gt; .bashrc<br># echo &#8220;export DISPLAY=:0&#8221; &gt;&gt; .bashrc<br># source ~\/.bashrc<br># apt update<br># adduser -uid 1000 pi<br># apt -y install mousepad fonts-droid-fallback fonts-vlgothic<br># exit<br>$ sudo chroot \/x86\/ \/bin\/su -l pi<br>$ echo &#8220;export LANGUAGE=ja_JP.UTF-8&#8221; &gt;&gt; .bashrc<br>$ echo &#8220;export LC_ALL=ja_JP.UTF-8&#8221; &gt;&gt; .bashrc<br>$ echo &#8220;export TZ=JST-9&#8221; &gt;&gt; .bashrc<br>$ echo &#8220;export DISPLAY=:0&#8221; &gt;&gt; .bashrc<br>$ source ~\/.bashrc<br>$ exit<br>$ sudo chroot \/x86\/ \/bin\/su -l root<br># apt -y install wine wget<br># exit<br>$ sudo chroot \/x86\/ \/bin\/su -l pi<br>$ vi .wgetrc (check-certificate=off)<br>$ wget https:\/\/raw.githubusercontent.com\/Winetricks\/winetricks\/master\/src\/winetricks<br>$ chmod +x winetricks<br>$ .\/winetricks cjkfonts<br>$ winecfg<br>$ exit<br>$ sudo umount \/x86\/sys\/<br>$ sudo umount \/x86\/proc\/<br>$ sudo umount \/x86\/dev\/pts\/<br>$ sudo umount \/x86\/dev\/shm\/<br>$ sudo umount \/x86\/dev\/<\/p>\n\n\n\n<p>\u7d50\u679c\u306f\u5909\u308f\u3089\u305a\u3067\u3057\u305f\u3002\u30e1\u30e2\u5e33\u306f\u52d5\u304f\u3051\u3069\u3001NScripter \u3068\u304b\u306f\u52d5\u304d\u307e\u305b\u3093\u3002<br>64 bit \u3067\u3082\u540c\u3058\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000x86 \u74b0\u5883\u306f stretch \u3067\u8a66\u3057\u3066\u3044\u305f\u306e\u3067\u3001wine \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u3067\u3059\u3002\u306a\u306e\u3067\u3001buster \u3092\u5165\u308c\u3066\u8a66\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3069\u3046\u305b\u4f7f\u3048\u306a\u3044\u306e\u3067\u3001\/x86 \u3068 \/x86_64 \u306f\u524a\u9664\u3057\u307e\u3057\u305f\u3002 \u3000\u6700\u521d\u304b\u3089\u69cb\u7bc9\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-754","post","type-post","status-publish","format-standard","hentry","category-wine"],"_links":{"self":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=754"}],"version-history":[{"count":2,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/754\/revisions"}],"predecessor-version":[{"id":1041,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/754\/revisions\/1041"}],"wp:attachment":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}