How to install the CONNECTOR on Linux

Install Wine and MetaTrader 5 if not already installed.

Create a shell script file and make it executable using the command line:

    nano wineAndMt5Install.sh
    chmod +x wineAndMt5Install.sh

Paste a script for your system to the file and save it. Change MT5_INSTALLER_URL (and the file name on the last line of the script accordingly) if you need to install MetaTrader 5 terminal from a different source. You may also change MT5_WINE_PREFIX and WINE_VERSION if necessary.

Ubuntu:

Debian:

Run the script.

Check if Winetricks is installed:

  dpkg -s winetricks

If not, follow the installation procedure.

Check if .NET Framework 4.8 is installed. Run command (replace [wine prefix path] with the path to the Wine prefix where you want to install the CONNECTOR):

  WINEPREFIX=[wine prefix path] winetricks list-installed

If the output does not contain dotnet48 line, run .NET Framework 4.8 automatic installation through winetricks (replace [wine prefix path] with the path to the Wine prefix where you want to install the CONNECTOR):