MetaTraderをDebian Wheezy amd64にインストールし起動する方法


目次

  1. 環境とバージョン
  2. Wineのインストール
  3. MetaTraderのダウンロード
  4. MetaTrader 4のインストール
  5. wine-bin:i386のインストール
  6. ライブラリ mfc42.dllを追加
  7. 再度MetaTrader 4をインストール
  8. MetaTrader 5をインストール
  9. 参考リンク

環境とバージョン

  • OS:Debian Wheezy amd64
  • Wine:wine64-bin1.4.1-4amd64,wine-bin1.4.1-4i386

Wineのインストール

apt-cache show wine64-bin

Windows API implementation – binary loader
Wine is a free MS-Windows API implementation.
This is still a work in progress and many applications may still not work.
.
This package provides instructions for installing 32-bit wine on 64-bit
systems.

64bitのOSに32bit版のWineをインストールするので

パッケージwine64-binをまずインストールしました.

後でwine-bin:i386もインストールすることになるのですが,

ここは作業の順番どおり説明します.

apt-get install wine64-bin

MetaTraderのダウンロード

MetaTrader 5 Trading Platform / MetaQuotes Software Corp. から

mt4setup.exeとmt5setup.exeをダウンロードします.

MetaTrader 4のインストール

wine mt4setup.exe &

i386版をインストールするようメッセージ画面が表示されたので

wine-bin:i386をインストールします.

wine-bin:i386のインストール

dpkg --add-architecture i386
apt-get update
apt-get install wine-bin:i386

ライブラリ mfc42.dllを追加

再度,コマンドを打つと,エラー画面がでるので

mfc42.dll download – free dll files から

mfc42.dllをダウンロードします.

これを’~/.wine/drivec/windows/system32’にコピーします.

cp mfc42.dll ~/.wine/drive_c/windows/system32

Wineの設定画面を起動します.

winecfg &

ライブラリタブをクリックし,ライブラリの新規オーバーライド欄に

mfc42.dllを入力し追加ボタンを押します.

そして,適用⇒OKで終了します.

再度MetaTrader 4をインストール

wine mt4setup.exe &

インストール途中の画面は文字化けしていますが,

インストール後起動した画面はほぼ文字化けなく

グラフも正常に表示されます.

MetaTrader 5をインストール

wine mt5setup.exe &

こちらもインストール途中の画面は文字化けしていますが,

インストール後起動した画面はほぼ文字化けなく

グラフも正常に表示されます.

参考リンク

FX MetaTrader 4 Linuxで動かしてみる|davaのぶろぐ

MetaTrader 4 on Linux – MQL4 Articles

MT4 & MT5 on Linux 05: Installing Metatrader 4 – YouTube

Metatrader 4 on Linux OS installation guide – DeltaFins

How to Install Metatrader 5 in Ubuntu 11.04

MT4 & MT5 on Linux 04: Wine installation – YouTube


コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です