How to Install Myfxbook EA on Wine in Linux

How to Install Myfxbook EA on Wine in Linux and make it working without crashing

How to Install Myfxbook EA on Linux Without Crashes

 **Note:** In all examples below, the username in linux is `alex`. If your username is different, replace `alex` with your actual Linux username in all paths and commands.

## 1. Install Wine and Winetricks

“`
1) sudo apt update
2) sudo apt install wine winetricks
“`

## 2. Download and Install MetaTrader 5 from MetaQuotes for Ununtu. This is one command line:

“`
3) wget https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5ubuntu.sh ; chmod +x mt5ubuntu.sh ; ./mt5ubuntu.sh
“`

## 3. Install Required Components in the Wine Prefix

“`
4) export WINEPREFIX=/home/alex/.mt5
5) winetricks remove_mono
6) winetricks dotnet48 vcrun2015 vcrun2019 corefonts gdiplus
“`
keep in mind #6 sometimes take long time. If any installer windows appear, make sure to complete them fully! If its stuck more that 30 minutes – close terminal and run this 4 5 6 commands again

## 4. Copy Myfxbook EA Files. If you dont have myfxbook.ea + myfxbook.dll ask some Windows user copy them for you 

– Place .ex5 files in:
`/home/alex/.mt5/drive_c/Program Files/MetaTrader 5/MQL5/Experts/`
– Place DLLs (if any) in:
`/home/alex/.mt5/drive_c/Program Files/MetaTrader 5/MQL5/Libraries/`

## Additional Tips
– Always use the same `WINEPREFIX` for all commands
– If you get .NET errors, make sure `dotnet48` is installed correctly
How to Install Myfxbook EA on Wine in Linux