MetaTrader 5 on Linux
In this article, we demonstrate how to install MetaTrader 5 on popular Linux versions, Ubuntu, Debian, Linux Mint and Fedora. These systems are widely used on companies’ server hardware as well as on traders’ personal computers.
Installing the platform with one command
MetaTrader 5 runs on Linux using Wine. Wine is a free compatibility layer that allows application software developed for Microsoft Windows to run on Unix-like operating systems.
We have prepared a special script to make the installation process as simple as possible. The script will automatically detect your system version, it supports Ubuntu, Debian, Linux Mint and Fedora distributions. Based on it, it will download and install the appropriate Wine package. After that, it will download and run the platform installer.
To start the installation, open the command line (Terminal) without the administrator privileges (no sudo) and specify the relevant command:
This command downloads the script, makes it executable and runs it. You only need to enter your account password to allow installation.

If you are prompted to install additional Wine packages (Mono, Gecko), please agree, as these packages are required for platform operation. The MetaTrader 5 installer will launch after that, proceed with the standard steps. Once the installation is complete, restart your operating system, and the platform is ready to go.

Install updates in a timely manner
It is highly recommended to always use the latest versions of the operating system and Wine. Timely updates increase platform operation stability and improve performance.
To update Wine, open a command prompt and type the following command:
For further information, please visit the official Wine website.
MetaTrader 5 Data Directory
Wine creates a separate virtual logical drive with the necessary environment for every installed program. The default path of the installed terminal data folder is as follows:
Translated from Russian by MetaQuotes Ltd.
Original article: /ru/articles/625
Warning: All rights to these materials are reserved by MetaQuotes Ltd. Copying or reprinting of these materials in whole or in part is prohibited.
I find it hard to understand the idea that MetaQuotes should somehow be held responsible for the consequences of someone’s choice of operating system.
You may not have noticed, but this website (which clearly belongs to MetaQuotes) states that the platform is compatible with Linux.
Surely, they could at least specify in the release notes for MetaTrader which versions of Wine the terminal runs on.
You may not have noticed, but this website (which clearly belongs to MetaQuotes) states that the platform is compatible with Linux.
Surely, they could at least specify in the release notes for MetaTrader which versions of Wine the terminal runs on.
You may not have noticed, but my comment contains more than just the first sentence. I explicitly acknowledged MetaQuotes' responsibility for the installation procedures it provides.
Forum on trading, automated trading systems and testing trading strategies
Discussion of article "MetaTrader 5 on Linux"
Miguel Angel Vico Alba, 2026.11.21 04:20
And what if we could ‘smartify’ the auto-update a bit more, so that it doesn’t update on those versions of Wine/Windows where the update wouldn’t work...
But that’s too complicated a task; no AI could manage it )
The EA installer for transmitting trading history—distributed via the Myfxbook website —was recently updated. It now requires Webview2 when installed on Linux (please see the attached image).
After installing Webview2 using `MicrosoftEdgeWebview2Setup.exe` on both Ubuntu 26.04 and Debian 13, the application displayed only a blank, white screen upon relaunch.
It is important to note that this installer does not run on MT5; in other words, the blank screen may occur independently of MT5.
I am not certain if this is the same issue as the one affecting the MQL5 Market within MT5, but I hope this information proves helpful in finding a solution.