| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
| linux:wine [2022/10/02 17:07] – [Wine] ともやん | linux:wine [2022/10/08 03:54] (現在) – [参考文献] ともやん |
|---|
| ====== Wine ====== | ====== Wine ====== |
| | <WRAP logo> |
| | | {{:linux:wine-logo.svg?150|WINE-Logo}} | |
| | | [[https://commons.wikimedia.org/wiki/File:WINE-Logo.svg|File:WINE-Logo.svg - Wikimedia Commons]] | |
| | </WRAP> |
| 本家: [[https://www.winehq.org|WineHQ - Run Windows applications on Linux, BSD, Solaris and macOS]]\\ | 本家: [[https://www.winehq.org|WineHQ - Run Windows applications on Linux, BSD, Solaris and macOS]]\\ |
| Wiki: [[https://wiki.winehq.org/Main_Page|WineHQ Wiki]]\\ | Wiki: [[https://wiki.winehq.org/Main_Page|WineHQ Wiki]]\\ |
| |
| ===== 使い方 ===== | ===== 使い方 ===== |
| | |
| | ==== バージョン表示 [--version] ==== |
| | <WRAP color_term> |
| | <WRAP color_command><html><pre> |
| | <b class=GRN>$</b> <b class=HIY>wine</b> --version |
| | </pre></html></WRAP> |
| | <WRAP color_result><html><pre> |
| | wine-7.12 (Staging) |
| | </pre></html></WRAP> |
| | </WRAP> |
| | |
| | ==== 日本語環境では最初から化ける □ □ □ 😅 ==== |
| | <WRAP color_term> |
| | <WRAP color_command><html><pre> |
| | <b class=GRN>$</b> <b class=HIY>winecfg</b> |
| | </pre></html></WRAP> |
| | <WRAP color_result><html><pre> |
| | 002c:fixme:winediag:LdrInitializeThunk wine-staging 7.12 is a testing version containing experimental patches. |
| | 002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org. |
| | 010c:fixme:imm:ImeSetActiveContext (0000000000369120, 1): stub |
| | 010c:fixme:imm:ImmReleaseContext (000000000001006E, 0000000000369120): stub |
| | 0074:fixme:imm:ImeSetActiveContext (0000000000368340, 0): stub |
| | 0074:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000368340): stub |
| | </pre></html></WRAP> |
| | </WRAP> |
| | |
| | <WRAP group zoomimg w400 x1_5 photo_area> |
| | <WRAP left> |
| | {{:linux:wine_wincfg_001.png?600|Wine Configuration 001}} |
| | </WRAP> |
| | <WRAP left> |
| | {{:linux:wine_boot_001.png?600|Wine Boot 001}} |
| | </WRAP> |
| | </WRAP> |
| | |
| | === winetricks をインストールする🤔 === |
| | <WRAP color_term> |
| | <WRAP color_command><html><pre> |
| | <b class=GRN>$</b> <b class=HIY>sudo</b> dnf install winetricks |
| | </pre></html></WRAP> |
| | <WRAP color_result_long><html><pre> |
| | メタデータの期限切れの最終確認: 1:37:12 時間前の 2022年10月02日 15時38分10秒 に実施しました。 |
| | 依存関係が解決しました。 |
| | ============================================================================================================== |
| | パッケージ アーキテクチャー バージョン リポジトリー サイズ |
| | ============================================================================================================== |
| | インストール: |
| | <b class=GRN>winetricks</b> noarch 20220411-1.fc36 updates 189 k |
| | 依存関係のインストール: |
| | <b class=GRN>cabextract</b> x86_64 1.9.1-3.fc36 fedora 69 k |
| | |
| | トランザクションの概要 |
| | ============================================================================================================== |
| | インストール 2 パッケージ |
| | |
| | ダウンロードサイズの合計: 259 k |
| | インストール後のサイズ: 1.1 M |
| | これでよろしいですか? [y/N]: y |
| | パッケージのダウンロード: |
| | (1/2): cabextract-1.9.1-3.fc36.x86_64.rpm 304 kB/s | 69 kB 00:00 |
| | (2/2): winetricks-20220411-1.fc36.noarch.rpm 541 kB/s | 189 kB 00:00 |
| | -------------------------------------------------------------------------------------------------------------- |
| | 合計 97 kB/s | 259 kB 00:02 |
| | トランザクションの確認を実行中 |
| | トランザクションの確認に成功しました。 |
| | トランザクションのテストを実行中 |
| | トランザクションのテストに成功しました。 |
| | トランザクションを実行中 |
| | 準備 : 1/1 |
| | インストール中 : cabextract-1.9.1-3.fc36.x86_64 1/2 |
| | インストール中 : winetricks-20220411-1.fc36.noarch 2/2 |
| | scriptletの実行中: winetricks-20220411-1.fc36.noarch 2/2 |
| | 検証 : cabextract-1.9.1-3.fc36.x86_64 1/2 |
| | 検証 : winetricks-20220411-1.fc36.noarch 2/2 |
| | |
| | インストール済み: |
| | cabextract-1.9.1-3.fc36.x86_64 winetricks-20220411-1.fc36.noarch |
| | |
| | 完了しました! |
| | </pre></html></WRAP> |
| | </WRAP> |
| | |
| | === winetricks で日本語フォントをインストール === |
| | <WRAP color_term> |
| | <WRAP color_command><html><pre> |
| | <b class=GRN>$</b> <b class=HIY>winetricks</b> |
| | </pre></html></WRAP> |
| | <WRAP color_result_long><html><pre> |
| | Executing mkdir -p /home/tomoyan |
| | ------------------------------------------------------ |
| | warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug. |
| | ------------------------------------------------------ |
| | Using winetricks 20220411 - sha256sum: e96c664316387b3e000ec13f0b9a71758cc47cf49a0143af2cb1c3ba1250239a with wine-7.12 (Staging) and WINEARCH=win64 |
| | winetricks GUI enabled, using zenity 3.42.1 |
| | Executing w_do_call consolas |
| | Executing mkdir -p /home/tomoyan |
| | ------------------------------------------------------ |
| | warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug. |
| | ------------------------------------------------------ |
| | Executing load_consolas |
| | Executing mkdir -p /home/tomoyan/.cache/winetricks/PowerPointViewer |
| | Executing cd /home/tomoyan/.cache/winetricks/PowerPointViewer |
| | Downloading https://web.archive.org/web/20171225132744if_/https://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe to /home/tomoyan/.cache/winetricks/PowerPointViewer |
| | Executing cd /home/tomoyan/work/vpnclient |
| | Executing cabextract -q -d /home/tomoyan/.wine/dosdevices/c:/windows/temp -F ppviewer.cab /home/tomoyan/.cache/winetricks/PowerPointViewer/PowerPointViewer.exe |
| | Executing cabextract -q -d /home/tomoyan/.wine/dosdevices/c:/windows/temp -F CONSOLA*.TTF /home/tomoyan/.wine/dosdevices/c:/windows/temp/ppviewer.cab |
| | /home/tomoyan/.wine/dosdevices/c:/windows/temp/ppviewer.cab: WARNING; possible 5968 extra bytes at end of file. |
| | ------------------------------------------------------ |
| | warning: Running /usr/bin/wineserver -w. This will hang until all wine processes in prefix=/home/tomoyan/.wine terminate |
| | ------------------------------------------------------ |
| | Executing wine regedit C:\windows\Temp\_register-font.reg |
| | 002c:fixme:winediag:LdrInitializeThunk wine-staging 7.12 is a testing version containing experimental patches. |
| | 002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org. |
| | Executing wine64 regedit C:\windows\Temp\_register-font.reg |
| | Executing cp /home/tomoyan/.wine/dosdevices/c:/windows/temp/_register-font.reg /tmp/winetricks.6DjQLVBS/_reg_d06119c4_27812.reg |
| | Executing wine regedit C:\windows\Temp\_register-font.reg |
| | Executing wine64 regedit C:\windows\Temp\_register-font.reg |
| | Executing cp /home/tomoyan/.wine/dosdevices/c:/windows/temp/_register-font.reg /tmp/winetricks.6DjQLVBS/_reg_7fb3a2bc_27812.reg |
| | Executing wine regedit C:\windows\Temp\_register-font.reg |
| | Executing wine64 regedit C:\windows\Temp\_register-font.reg |
| | Executing cp /home/tomoyan/.wine/dosdevices/c:/windows/temp/_register-font.reg /tmp/winetricks.6DjQLVBS/_reg_7a85ac1f_27812.reg |
| | Executing wine regedit C:\windows\Temp\_register-font.reg |
| | Executing wine64 regedit C:\windows\Temp\_register-font.reg |
| | Executing cp /home/tomoyan/.wine/dosdevices/c:/windows/temp/_register-font.reg /tmp/winetricks.6DjQLVBS/_reg_4abf1753_27812.reg |
| | Executing wine regedit C:\windows\Temp\_register-font.reg |
| | Executing wine64 regedit C:\windows\Temp\_register-font.reg |
| | Executing cp /home/tomoyan/.wine/dosdevices/c:/windows/temp/_register-font.reg /tmp/winetricks.6DjQLVBS/_reg_963ae653_27812.reg |
| | Executing wine regedit C:\windows\Temp\_register-font.reg |
| | Executing wine64 regedit C:\windows\Temp\_register-font.reg |
| | Executing cp /home/tomoyan/.wine/dosdevices/c:/windows/temp/_register-font.reg /tmp/winetricks.6DjQLVBS/_reg_f87d9bec_27812.reg |
| | Executing wine regedit C:\windows\Temp\_register-font.reg |
| | Executing wine64 regedit C:\windows\Temp\_register-font.reg |
| | Executing cp /home/tomoyan/.wine/dosdevices/c:/windows/temp/_register-font.reg /tmp/winetricks.6DjQLVBS/_reg_72805153_27812.reg |
| | Executing wine regedit C:\windows\Temp\_register-font.reg |
| | Executing wine64 regedit C:\windows\Temp\_register-font.reg |
| | Executing cp /home/tomoyan/.wine/dosdevices/c:/windows/temp/_register-font.reg /tmp/winetricks.6DjQLVBS/_reg_ab679ac3_27812.reg |
| | Executing w_do_call fakejapanese_vlgothic |
| | Executing mkdir -p /home/tomoyan |
| | ------------------------------------------------------ |
| | warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug. |
| | ------------------------------------------------------ |
| | Executing load_fakejapanese_vlgothic |
| | Executing w_do_call vlgothic |
| | Executing mkdir -p /home/tomoyan |
| | ------------------------------------------------------ |
| | warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug. |
| | ------------------------------------------------------ |
| | Executing load_vlgothic |
| | Executing mkdir -p /home/tomoyan/.cache/winetricks/vlgothic |
| | Executing cd /home/tomoyan/.cache/winetricks/vlgothic |
| | Downloading https://ja.osdn.net/projects/vlgothic/downloads/62375/VLGothic-20141206.tar.xz to /home/tomoyan/.cache/winetricks/vlgothic |
| | /usr/bin/winetricks: 1146 行: 30621 Hangup ( ${torify} wget "$@" 2>&1 | winetricks_parse_wget_progress | ${WINETRICKS_GUI} --progress --width 400 --title="${_W_file}" --auto-kill --auto-close ) |
| | User aborted download, killing wget |
| | Executing cd /home/tomoyan/.cache/winetricks/vlgothic |
| | Downloading https://web.archive.org/web/2000/https://ja.osdn.net/projects/vlgothic/downloads/62375/VLGothic-20141206.tar.xz to /home/tomoyan/.cache/winetricks/vlgothic |
| | Executing cd /home/tomoyan/work/vpnclient |
| | ------------------------------------------------------ |
| | SHA256 mismatch!\n\nURL: https://web.archive.org/web/2000/https://ja.osdn.net/projects/vlgothic/downloads/62375/VLGothic-20141206.tar.xz\nDownloaded: 9e33c719a14751dba522aff503fe1aa7e4f92eae0713f98d22be248f3257458e\nExpected: 982040db2f9cb73d7c6ab7d9d163f2ed46d1180f330c9ba2fae303649bf8102d\n\nThis is often the result of an updated package such as vcrun2019.\nIf you are willing to accept the risk, you can bypass this check.\nAlternatively, you may use the --force option to ignore this check entirely.\n\nContinue anyway? |
| | ------------------------------------------------------ |
| | Executing cd /home/tomoyan/.wine/dosdevices/c:/windows/temp |
| | Executing tar -Jxf /home/tomoyan/.cache/winetricks/vlgothic/VLGothic-20141206.tar.xz |
| | xz: (stdin): File format not recognized |
| | tar: Child returned status 1 |
| | tar: Error is not recoverable: exiting now |
| | ------------------------------------------------------ |
| | warning: Note: command tar -Jxf /home/tomoyan/.cache/winetricks/vlgothic/VLGothic-20141206.tar.xz returned status 2. Aborting. |
| | ------------------------------------------------------ |
| | </pre></html></WRAP> |
| | </WRAP> |
| | |
| | <WRAP mintbl mincode zoomimg photo_area_long> |
| | | {{:linux:winetricks_001.png?400|Winetricks 001}} | {{:linux:winetricks_001_msg01.png?400|Winetricks 001 msg01}} | |
| | | ::: | <code> |
| | Would you like to help winetricks development by letting winetricks report statistics? You can turn reporting off at any time with the command 'winetricks --optout' |
| | </code><code> |
| | winetricks に統計を報告させることで、winetricks の開発を支援しますか? |
| | コマンド 'winetricks --optout' を使用して、いつでもレポートをオフにすることができます |
| | </code> | |
| | | 「◎ Select the default wineprefix」を選択したまま [OK] ボタンをクリックする🤔 | {{:linux:winetricks_001_msg02.png?400|Winetricks 001 msg02}} | |
| | | ::: | <code> |
| | Thanks! You won't be asked this question again. Remember, you can turn reporting off at any time with the command 'winetricks --optout' |
| | </code><code> |
| | ありがとう!もうこの質問はありません。 |
| | コマンド 'winetricks --optout' を使用して、いつでもレポートをオフにできることを忘れないでください |
| | </code> | |
| | | {{:linux:winetricks_002.png?400|Winetricks 002}} | | |
| | | 「◎ Install a font」を選択して [OK] ボタンをクリックする🤔 | ::: | |
| | | {{:linux:winetricks_003-1.png?400|Winetricks 003-1}} | {{:linux:winetricks_003-2.png?400|Winetricks 003-2}} | |
| | | {{:linux:winetricks_003_msg01.png?600|Winetricks 003 msg01}} | |
| | | <code> |
| | You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug. |
| | </code> | |
| | | {{:linux:winetricks_004.png?400|Winetricks 004}} | |
| | | {{:linux:winetricks_005.png?600|Winetricks 005}} | |
| | | <code> |
| | Running /usr/bin/wineserver -w. This will hang until all wine processes in prefix=/home/tomoyan/.wine terminate |
| | </code> | |
| | | {{:linux:winetricks_006.png?400|Winetricks 006}} | |
| | | <code> |
| | SHA256 mismatch! |
| | |
| | URL: https://web.archive.org/web/2000/https://ja.osdn.net/projects/vlgothic/downloads/62375/VLGothic-20141206.tar.xz |
| | Downloaded: 9e33c719a14751dba522aff503fe1aa7e4f92eae0713f98d22be248f3257458e |
| | Expected: 982040db2f9cb73d7c6ab7d9d163f2ed46d1180f330c9ba2fae303649bf8102d |
| | |
| | This is often the result of an updated package such as vcrun2019. |
| | If you are willing to accept the risk, you can bypass this check. |
| | Alternatively, you may use the --force option to ignore this check entirely. |
| | |
| | Continue anyway? |
| | </code> | |
| | |
| | |
| | </WRAP> |
| | |
| | === 日本語フォントをインストール後に文字化けしないことを確認 === |
| | {{:linux:wine_wincfg_002.png?412|Wine Configuration 002}}\\ |
| | |
| | === Wine 内のファイルシステム構造 === |
| | {{:linux:wine_winfile_001.png?600|Wine WinFile 001}}\\ |
| | <WRAP color_term> |
| | <WRAP color_command><html><pre> |
| | <b class=GRN>$</b> <b class=HIY>ll</b> ~/.wine/dosdevices/ |
| | </pre></html></WRAP> |
| | <WRAP color_result><html><pre> |
| | 合計 28 |
| | drwxr-xr-x 1 tomoyan tomoyan 46 10月 2 19:38 <b class=HIB>.</b> |
| | drwxr-xr-x 1 tomoyan tomoyan 154 10月 2 19:39 <b class=HIB>..</b> |
| | lrwxrwxrwx 1 tomoyan tomoyan 10 10月 2 17:08 <b class=HIC>c:</b> -> <b class=HIB>../drive_c</b> |
| | lrwxrwxrwx 1 tomoyan tomoyan 8 10月 2 17:08 <b class=HIC>d::</b> -> <b class="HIY BBLK">/dev/sr0</b> |
| | lrwxrwxrwx 1 tomoyan tomoyan 8 10月 2 19:38 <b class=HIC>lpt1</b> -> <b class="HIY BBLK">/dev/lp0</b> |
| | lrwxrwxrwx 1 tomoyan tomoyan 8 10月 2 19:38 <b class=HIC>lpt2</b> -> <b class="HIY BBLK">/dev/lp1</b> |
| | lrwxrwxrwx 1 tomoyan tomoyan 8 10月 2 19:38 <b class=HIC>lpt3</b> -> <b class="HIY BBLK">/dev/lp2</b> |
| | lrwxrwxrwx 1 tomoyan tomoyan 8 10月 2 19:38 <b class=HIC>lpt4</b> -> <b class="HIY BBLK">/dev/lp3</b> |
| | lrwxrwxrwx 1 tomoyan tomoyan 1 10月 2 17:08 <b class=HIC>z:</b> -> <b class=HIB>/</b> |
| | </pre></html></WRAP> |
| | <WRAP color_command><html><pre> |
| | <b class=GRN>$</b> <b class=HIY>ll</b> ~/.wine/ |
| | </pre></html></WRAP> |
| | <WRAP color_result><html><pre> |
| | 合計 3016 |
| | drwxr-xr-x 1 tomoyan tomoyan 154 10月 2 19:39 <b class=HIB>.</b> |
| | drwx--x---+ 1 tomoyan tomoyan 882 10月 2 17:08 <b class=HIB>..</b> |
| | -rw-r--r-- 1 tomoyan tomoyan 12 10月 2 17:08 .update-timestamp |
| | drwxr-xr-x 1 tomoyan tomoyan 46 10月 2 19:38 <b class=HIB>dosdevices</b> |
| | drwxr-xr-x 1 tomoyan tomoyan 110 10月 2 17:08 <b class=HIB>drive_c</b> |
| | -rw-r--r-- 1 tomoyan tomoyan 3005478 10月 2 19:39 system.reg |
| | -rw-r--r-- 1 tomoyan tomoyan 66368 10月 2 19:39 user.reg |
| | -rw-r--r-- 1 tomoyan tomoyan 4096 10月 2 17:08 userdef.reg |
| | -rw-r--r-- 1 tomoyan tomoyan 40 10月 2 17:48 winetricks.log |
| | </pre></html></WRAP> |
| | </WRAP> |
| | ===== レシピ ===== |
| | [[:linux:softether_vpn/server_manager#linux_上の_wine_で_se-vpn_server_manager_for_windows_を使う🤤|Linux 上の Wine で SE-VPN Server Manager for Windows を使う🤤]]\\ |
| | <WRAP zoomimg w400 x1_6> |
| | {{:linux:wine_softether_vpn_server_manager_003.png?800|SE-VPN Server Manager 003}} |
| | </WRAP> |
| |
| ===== 参考文献 ===== | ===== 参考文献 ===== |
| [[https://wiki.winehq.org/Fedora|Fedora - WineHQ Wiki]]\\ | [[https://wiki.winehq.org/Fedora|Fedora - WineHQ Wiki]]\\ |
| [[https://fedoraproject.org/wiki/Wine|Wine - Fedora Project Wiki]]\\ | [[https://fedoraproject.org/wiki/Wine|Wine - Fedora Project Wiki]]\\ |
| | |
| | [[https://wiki.archlinux.jp/index.php/Bluetooth|Bluetooth - ArchWiki]]\\ |
| | [[http://www.reactivated.net/writing_udev_rules.html|Writing udev rules]]\\ |
| | [[https://superuser.com/questions/619528/converting-the-dev-ttyusb-to-com-port-to-use-it-with-wine-in-linux|Converting the /dev/ttyUSB to com port to use it with Wine in Linux]]\\ |
| | [[https://www.onetransistor.eu/2015/12/wine-serial-port-linux.html|Set up the serial port in Wine]]\\ |
| | [[https://superuser.com/questions/619528/converting-the-dev-ttyusb-to-com-port-to-use-it-with-wine-in-linux|Converting the /dev/ttyUSB to com port to use it with Wine in Linux]]\\ |
| | [[https://www.ts-software-jp.net/products/tsdmmview.html|Ts Digital Multi Meter Viewer]]\\ |
| |