1

Has any body managed to install metatrader4 on ubuntu15 using wine? Because I have trouble installing it. Thanks,

Michael
  • 11

4 Answers4

3

Run:

cd ~ 
sudo dpkg --add-architecture i386 
sudo add-apt-repository ppa:wine/wine-builds 
sudo apt-get update 
sudo apt-get install --install-recommends winehq-staging 
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks 
chmod +x winetricks 
WINEARCH=win32 winetricks --isolate mt4
0

I have also received a lot of errors from wine when installing mt4 on ubuntu x64 again and again. Sometimes I formated my PC again and again.

But then I had understood how to install and open.

Should be installed wine32 if you use x64, and winetricks.

winetricks parameter "--isolate mt4". But you should install the mt4.exe file of your own broker. Then it will work :)

like this video:

how to install mt4 on x64 ubuntu

dose
  • 1
0

I just successfully installed MetaTrader 4 on Ubuntu 16.04, using the command provided by Michael. Thanks, Michael! I've been struggling for a while.

Just want to add one more comment, rm ~/.wine folder after using his command, this will clean all the mess of previous installations. (maybe difficult if you have already installed some applications on wine). And then run the installation executable downloaded from MT4 official site. That works for me.

gkso
  • 161
0

Wine

Here are the commands to install Wine:

type dpkg-reconfigure && dpkg-reconfigure debconf -f noninteractive
dpkg --add-architecture i386
apt-get install -qy python-software-properties
curl -s https://dl.winehq.org/wine-builds/Release.key | apt-key add -
add-apt-repository -y https://dl.winehq.org/wine-builds/ubuntu/
apt-get install -qy --install-recommends wine-staging winehq-staging

Note: For the full script, please check this provision.sh file.

Above steps are based on the recent Wine packaging related changes.

See also: How to install and configure Wine?

MetaTrader

Installation of MetaTrader should work under Wine.

Here are the methods:

  • Run the web installer from the website.
  • Use winetricks via: winetricks mt4 command. One-liner:

    sh -s mt4 < <(curl -s https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks)
    
  • For non-interactive installation, check the FX-MT-VM project (under scripts/).

    Note: I'm the author and maintainer.

kenorb
  • 10,944