Wineのインストール
環境
Ubuntu 16.04 64bit
方法
64bit OSなので32bitアーキテクチャを有効にする
sudo dpkg --add-architecture i386
リポジトリキーを追加する
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
リポジトリを追加する
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
アップデートする
sudo apt update
インストールする
sudo apt install --install-recommends winehq-stable
Winetricksのインストール
sudo apt install winetricks
Winetricksをアプリ一覧から起動する
"Select the default wineprefix" > "OK"
"Install a Windows DLL or component" > "OK"
フォントをインストールしようとしてsha1sumのエラーが出るとき
フォントのファイルがなぜか0byteになっているので置き換える
"Select the default wineprefix" > "OK"
"Install a font" > "OK"
"all fonts" > "OK"
~/.cache/winetricks/takao/takao-fonts-ttf-003.02.01.zipの
https://launchpad.net/takao-fonts/+milestone/003.02.01をダウンロードして置き換える
ttf-baekmuk_2.2.orig.tar.gz https://launchpad.net/ubuntu/+source/ttf-baekmuk/2.2-3
PowerPointViewer.exe https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe/download
文字化け
/usr/share/fontsのなかの.ttfファイルを全てコピー
~/.wine/drive_c/windows/Fontsにペースト
まだ直してないエラー
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x315154,0x00000000), stub! 0009:fixme:win:WINNLSEnableIME hwnd (nil) enable 0: stub! 0009:fixme:dpnet:IDirectPlay8PeerImpl_Host (0x178080)->(0x315400,0x10011c18,1,(nil),(nil),(nil),0): stub 0009:fixme:imm:ImeHandleNotify WM_IME_NOTIFY:IMN_SETCOMPOSITIONWINDOW 0009:fixme:d3d:state_zenable W buffer is not well handled