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: https://www.mql5.com/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.
Neural Networks: From Theory to Practice
General information on Trading Signals for MetaTrader 4 and MetaTrader 5
Order Strategies. Multi-Purpose Expert Advisor
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi, Victor. I’m also using Ubuntu 26.04, with the latest version of Wine-11.12 Staging. I’ve tried both webview2.exe and MicrosoftEdgeWebView2RuntimeInstallerX64.exe… but I still can’t see the ‘Market’ window or log in to MQL5. I’ve installed corefonts and a few other fonts, but I still can’t get it to work. Do you have any tips on how to get this working?
I couldn’t get it to work either; I’ve tried loads of things, but it didn’t work, so I’ve given up on it. To install indicators here, the only way I can do it is via the source code.
It’s a lot of effort for very little, guys! Just install it on a Windows VM and be happy!
Until there’s a native MT5 version for Linux, we’ll always have problems.
It’s too much effort for nothing, lads! Just install it on a Windows virtual machine and be happy!
Until there’s a native version of MT5 for Linux, we’ll always have problems.
There’s nothing good about a virtual machine! It’s a right faff to copy and paste code, and switch between terminal and browser windows, for example. My Wine 11.11 (Windows 11) works fine with the latest versions of the terminal.