Installing MT4 or MT5 (MetaTrader) on Ubuntu 24.04 LTS Desktop

Run a script to easily install MetaTrader 5 or 4 app on Ubuntu 24.04 LTS Noble Linux using WineHQ for forex trading.

MetaTrader 4 (MT4) or MetaTrader 5 are popular platforms for trading forex pairs along with commodities. Its support for a wide range of forex brokers, inbuilt tools for price analysis, and robots for automated trading through Expert Advisors (EAs) makes it an indispensable application. However, unfortunately, the MetaTrader app is not available natively for Linux systems including Ubuntu 24.04. But as it is available for Windows, therefore we can use software platforms like WINE to have a compatibility layer for running Windows applications on Linux distros including MetaTrader.

Developed by MetaQuotes Software, MT4 or MT5 is favored by novice and experienced traders for its robust features such as Advanced Charting, Automated Trading, High-level security measures, encrypted data transmission, and customization.

1. Open Ubuntu 24.04 Command Terminal

First, on your Ubuntu 24.04 either press the Ctrl+Alt+T keyboard shortcut or go to “Show Apps” and search for the Terminal to open it. Once you have the access, run the system update command:

sudo apt update && sudo apt upgrade

2. Enable 32-bit architecture

Enable the 32-bit support for Wine with the help of the given command:

sudo dpkg --add-architecture i386

3. Installing MetaTrader 4 or 5 on Ubuntu 24.04

MetaTrader is not available natively for Linux systems including Ubuntu 24.04, however, the developer of this trading platform offers a script to have a smooth installation process on Linux. This script will install the WINE which offers a compatibility layer for the Windows application on Linux. After that, it will also run the MetaTrader setup wizard to graphically complete its installation just like we do on Windows platforms.

As per your requirement for the MetaTrader version use the given commands:

For Metatrader 4 Users:

wget https://download.mql5.com/cdn/web/metaquotes.software.corp/mt4/mt4ubuntu.sh ; chmod +x mt4ubuntu.sh ; ./mt4ubuntu.sh

For MetaTrader 5 Users:

wget https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5ubuntu.sh ; chmod +x mt5ubuntu.sh ; ./mt5ubuntu.sh

4. MetaTrader Setup Wizard

As we execute the script in the previous step, soon after installing the Wine setup is completed, it will give the installation wizard of MetaTrader.

However before that, the process will give a pop-up to install “WineMono Installer“, so click on the “Install” button to let the system configure it.

Install MonoInstaller WINE

Soon the setup wizard will appear click on the “Next” button to start the final installation of the MetaTrader app on Ubuntu 24.04 Linux.

MetaTrader installation wizard

5. Start or Launch the MetaTrader App

Even though the installation has been done with the help of WINE, you will have the MetaTrader app shortcut in the Ubuntu Application like any other Linux open-source app. Click on the “Show Apps” icon or press the WIN key on your keyboard. After that search for the MetaTrader shortcut entry.

Launch the MetaTrader Linux App
Installing MetaTrader 4 and 5 on Ubuntu 24.04

Uninstallation

Those who after some time want to remove the MetaTrader from their system, can go to the Application menu and then search for “Uninstaller” as it appears and click to run it.

Alternatively, users can run a command – wine uninstaller, this will open the WINE GUI uninstaller program, select “MetaTrader” and remove it.

Uninstaller for Wine
Removing MetaTrader

Other Articles:

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.