
MetaTrader 5 on Linux
In this article, we demonstrate how to install MetaTrader 5 on popular Linux versions, Ubuntu and Debian. 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, based on which 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) and specify the relevant command:
For Ubuntu:
For Debian:
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. Once you complete the standard steps, 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





- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
The best experience and stability of MT5 on Linux is by installing under Steam as a non-steam-game with Proton Experimental compatibility enabled ;-). This method also consumes less system resources (virtual machine, etc..) and works like a native application in Windows without any problems. I personally recommend it.
My system: Fedora Linux 40 (Cinnamon), Intel© Core™ i7-5820K CPU @ 3.30GHz × 6, 15.5 GiB RAM.
I tried to install mt4 from my broker in wine on Linux Mint 22 and it wirkd, but when I tried to install MT5, which I downloaded from the metaquotes website, something strange happened.
MT5 installed and I opened it.
The initial setup screen comes up and I pick Metaquotes as the company and click next.
On the next screen I choose Open a demo account and click next.
In the past this just opens the program and all is well.
This time, I am asked for name, email, birthday, and phone number as required information. Why this is needed for a demo account I don't know, but OK.
I enter the information and agree to terms of service, but the next button remains greyed out and I can't proceed.
Is this a glitch or am I missing something?
Thanks in advance for any help.
Hi all, I'd like to install MT5 platform on ubuntu operating system.
Could you confirm that in this case MT5 will receive regular updates as for windows operating system?
Thank you!