MetaTrader 5 on Ubuntu Linux 10.04

This tutorial will show how to install MetaTrader 5 from MetaQuotes on Ubuntu 10.04 Linux operating system. Hopefully this will make Linux users happy and finally enable using MT5 on Linux.

For a long time I have been trying to use standard Wine 1.2 provided with Ubuntu distribution. At first there were errors during installation, or no installation at all could be performed. Finally after some time this was fixed but still a message  'A debugger has been found' was shown after installation and terminal.exe was terminated.

The solution to install and run MetaTrader 5 in Ubuntu 10.04 is to use a non-standard Wine 1.3 packet from Launchpad PPA repository. In order to enable this repostory enter the following command:


inv@investeo:~/Pobrane$ sudo add-apt-repository ppa:ubuntu-wine/ppa
[sudo] password for inv:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 883E8688397576B6C509DF495A9A06AEF9CB8DB0
gpg: zapytanie o klucz F9CB8DB0 z hkp serwera keyserver.ubuntu.com
gpg: klucz F9CB8DB0: zaimportowano klucz publiczny ,,Launchpad PPA for Ubuntu Wine Team''
gpg: Ogółem przetworzonych kluczy: 1
gpg: dołączono do zbioru: 1 (RSA: 1)


After the repository is added update the repositories list with:

inv@investeo:~/Pobrane$ sudo apt-get update


Next step is to install Wine 1.3. It will should remove older Wine 1.2 if it was already installed:

inv@investeo:~/Pobrane$ sudo apt-get install wine1.3
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
libtasn1-3-dev libgpg-error-dev libgcrypt11-dev libgnutls-dev
Aby je usunąć należy użyć "apt-get autoremove".
Zostaną zainstalowane następujące dodatkowe pakiety:
ttf-symbol-replacement-wine1.3 wine1.3-gecko winetricks wisotool
Następujące pakiety zostaną USUNIĘTE:
ttf-symbol-replacement wine1.2 wine1.2-gecko
Zostaną zainstalowane następujące NOWE pakiety:
ttf-symbol-replacement-wine1.3 wine1.3 wine1.3-gecko winetricks wisotool
0 aktualizowanych, 5 nowo instalowanych, 3 usuwanych i 95 nieaktualizowanych.
Konieczne pobranie 19,8MB archiwów.
Po tej operacji zostanie dodatkowo użyte 12,9MB miejsca na dysku.
Kontynuować [T/n]? t
Pob: 1 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main ttf-symbol-replacement-wine1.3 1.3.3-0ubuntu1~lucidppa1 [40,1kB]
Pob: 2 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main wine1.3 1.3.3-0ubuntu1~lucidppa1 [10,8MB]
Pob: 3 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main wine1.3-gecko 1.1.0-0ubuntu1~lucidppa1 [8865kB]
Pob: 4 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main winetricks 0.0+20100917-0ubuntu1~lucidppa1 [49,4kB]
Pob: 5 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main wisotool 0.0+20100731 [56,0kB]
Pobrano 19,8MB w 1min 41s (195kB/s)
Prekonfiguracja pakietów ...
(Odczytywanie bazy danych ... 216396 plików i katalogów obecnie zainstalowanych.)
Usuwanie ttf-symbol-replacement ...
Usuwanie wine1.2 ...
Usuwanie wine1.2-gecko ...
Przetwarzanie wyzwalaczy dla fontconfig...
Przetwarzanie wyzwalaczy dla desktop-file-utils...
Przetwarzanie wyzwalaczy dla python-gmenu...
Rebuilding /usr/share/applications/desktop.pl_PL.utf8.cache...
Przetwarzanie wyzwalaczy dla hicolor-icon-theme...
Przetwarzanie wyzwalaczy dla man-db...
Przetwarzanie wyzwalaczy dla libc-bin...
ldconfig deferred processing now taking place
Przetwarzanie wyzwalaczy dla python-support...
Zaznaczenie poprzednio niezaznaczonego pakietu ttf-symbol-replacement-wine1.3.
(Odczytywanie bazy danych ... 215270 plików i katalogów obecnie zainstalowanych.)
Rozpakowanie ttf-symbol-replacement-wine1.3 (z .../ttf-symbol-replacement-wine1.3_1.3.3-0ubuntu1~lucidppa1_all.deb) ...
Zaznaczenie poprzednio niezaznaczonego pakietu wine1.3.
Rozpakowanie wine1.3 (z .../wine1.3_1.3.3-0ubuntu1~lucidppa1_i386.deb) ...
Zaznaczenie poprzednio niezaznaczonego pakietu wine1.3-gecko.
Rozpakowanie wine1.3-gecko (z .../wine1.3-gecko_1.1.0-0ubuntu1~lucidppa1_i386.deb) ...
Zaznaczenie poprzednio niezaznaczonego pakietu winetricks.
Rozpakowanie winetricks (z .../winetricks_0.0+20100917-0ubuntu1~lucidppa1_i386.deb) ...
Zaznaczenie poprzednio niezaznaczonego pakietu wisotool.
Rozpakowanie wisotool (z .../wisotool_0.0+20100731_i386.deb) ...
Przetwarzanie wyzwalaczy dla man-db...
Przetwarzanie wyzwalaczy dla desktop-file-utils...
Przetwarzanie wyzwalaczy dla python-gmenu...
Rebuilding /usr/share/applications/desktop.pl_PL.utf8.cache...
Przetwarzanie wyzwalaczy dla hicolor-icon-theme...
Przetwarzanie wyzwalaczy dla python-support...
Konfigurowanie ttf-symbol-replacement-wine1.3 (1.3.3-0ubuntu1~lucidppa1) ...
Konfigurowanie wine1.3 (1.3.3-0ubuntu1~lucidppa1) ...
procps stop/waiting
procps stop/waiting

Konfigurowanie wine1.3-gecko (1.1.0-0ubuntu1~lucidppa1) ...
Konfigurowanie winetricks (0.0+20100917-0ubuntu1~lucidppa1) ...
Konfigurowanie wisotool (0.0+20100731) ...
Przetwarzanie wyzwalaczy dla libc-bin...
ldconfig deferred processing now taking place


After that we should be equipped with fresh Wine 1.3 installation. You may check the version by executing wine --version command:


inv@investeo:~/Pobrane$ wine --version
wine-1.3.3


The next step is to download MetaTrader 5 installation binary:

http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe

and install MetaTrader 5 by entering wine mt5setup:

inv@investeo:~/Pobrane$ wine mt5setup

Installation is not much different than in Windows operating system:



After installation finished you can enter your credentials in order to sign up for a new account or enter your account details if you already have any.


You should get MetaTrader 5 up and running in a few minutes. You can enjoy trading, using indicators and expert advisors. For now there is still one problem with Strategy tester:



but I hope it will be soon resolved. The terminal itself and metaeditor do work properly:




I hope that my tutorial was useful. Enjoy!