The MT4 trading platform can be installed and run on computers with Linux using Wine. Wine is free software that allows users of the Unix-based systems to run an application developed for the Microsoft Windows systems. Among all the Wine versions there is one for Ubuntu.
*Note that Wine is not a fully stable application. This means that some functions in the applications you start under it may work improperly or not work at all.
*It is strongly recommended to use the latest version of Ubuntu and Wine. Timely update provides the greatest stability of the trading platform.
All applications under Ubuntu are installed from the packages contained in repositories. In the latest versions of Ubuntu, the required Wine installation repository is already available in the system without additional settings. Therefore, to install Wine, you only need to execute one command on the command line (called "Platform" in Ubuntu):
sudo apt-get install wine-stable
This command installs the latest stable version of Wine.
You can also install the Wine version for developers. This version may contain various improvements, but be less stable. To install it, run the following command:
sudo apt-get install wine-development
If your Ubuntu version does not provide a repository and you get an error during Wine installation, run the following commands one by one:
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
Next, update the package information by executing the following command:
sudo apt-get update
After the command execution, install Wine using the following command:
sudo apt-get install --install-recommends winehq-stable
For details on installation under Ubuntu, please visit the official Wine website.
Starting Client Terminal.
To install the terminal, download the installer mt4setup.exe. After the download is complete, launch the setup file. The system will automatically determine that you are trying to run a file designed for Microsoft Windows and will offer to open it with Wine. Select this option and click "OK".
Opening MetaTrader 4 installation package via WINE.
The client terminal installer will be launched. Complete all installation steps:
Installing the client terminal.
After the installation is complete, you can start using the terminal by running its terminal.exe file.
Another way to start using the trading terminal in Ubuntu is copying the entire folder of the client terminal previously installed on Microsoft Windows:
Copying previously installed terminal.
After copying is complete, simply run terminal.exe file of the terminal. Wine will be used automatically to open the file.
As was already mentioned above, Wine is not completely stable software. Thus, some functions of the client terminal may work improperly. Currently, the following issues are discovered:
* The Market is unavailable.
* Except for the above problem, you can enjoy all the features of the trading platform on Linux.
Terminal Data Directory.
Wine creates a virtual logical drive with a necessary environment for installed programs. The default path of the installed terminal's data folder is as follows:
Home folder: .winedrive_cProgram FilesClient Terminal