Has any body managed to install metatrader4 on ubuntu15 using wine? Because I have trouble installing it. Thanks,
4 Answers
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
- 2,344
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:
- 1
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.
- 161
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
winetricksvia:winetricks mt4command. One-liner:sh -s mt4 < <(curl -s https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks)For non-interactive installation, check the
FX-MT-VMproject (underscripts/).Note: I'm the author and maintainer.
- 10,944