HOWTO: (Easily) install the latest Metatrader 4 (MT4) on Linux Mint 18.2

FTMO Trader Scouting

jack

Administrator
Staff member
NEW / UPDATED HOWTOs:
HOWTO: (Easily) install the latest Metatrader 4 (MT4) on Linux Mint 19

-----

MetaTrader 4 is a Windows based application, however, it can be installed on Linux Mint 18.2 and other Linux distributions with the use of software called Wine.

Wine aims to reproduce the Windows libraries required to run Windows apps on non-windows platforms.

Getting MT4 to run on Linux with Wine is relatively easy, however, the instructions below are for Linux Mint 18.2.. your mileage may very on other Linux distros, but do check the Execution Platforms forum for more HOWTOs with other distros.

With the default install of Linux Mint 18.2 (Cinnamon desktop edition,) Wine is not pre-installed and must be installed manually. You cannot use the wine that is packaged along with Linux Mint, as it's an older version that does not fully support MT4. Instead, we have to manually add a new repository from Wine's developers and install the latest build that will support MT4.

To do this, launch a terminal instance by pressing your home key (or clicking the Linux Mint task bar menu button,) type Terminal into the search field, and launch the foumd Terminal app.

From within the terminal, type the following commands in order:
Code:
wget https://dl.winehq.org/pipermail/wine-devel/Release.key

sudo apt-key add Release.key

sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
Don't worry about seeing "ubuntu" in the last command. Linux Mint is based on LTS branches of Ubuntu and uses quite a few of their repositories as it is. Therefore this is very much so compatible with Linux Mint.

Time to install wine:
Code:
sudo apt-get update
sudo apt-get install --install-recommends winehq-devel
(There will be a lot of dependencies listed, just type 'Y' for yes, or press enter.)

Once wine is installed, it's time to download and install MT4: Grab your desired broker's MT4 installer package. (The broker I'll be using in this tutorial is Pepperstone Financial, but this process should work with any MT4 broker.) If you don't already have a live account, you can create a demo and download MT4 here. (Note: You will need to go this route through a broker, as MetaQuotes / MetaTrader will try and install MT5 instead if you download it directly from them.)

Linux Mint's Cinnamon desktop may not have automatically associated ".exe" windows programs with Wine as of yet, so just in case you can launch the installer by right clicking on the file and selecting "open with" > "Wine Windows Program Loader." It looks like this:

OYRIMr0.png


The first time Wine runs, it takes a moment to setup the Wine environment. Wine's setup progress is likely going to ask you to download and install additional components during this process:

ONgUCDt.png


This might happen two or three times, just click install each time it asks.

After that completes, you should be greeted with the MT4 install wizard (or, if after waiting a minute the wizard does not launch, then double click the MT4 setup file again.)
YfbXtW1.png



After going through the MT4 install wizard, the installer will launch MT4 upon completion and it sets an icon on your desktop. Wine knows to put the icon on your desktop and you can now launch MT4 from there moving forward.

NOTE: There might be some trouble creating a new demo account from within MT4 on Wine. If you run into this problem, just create a demo account through Pepperstone's website with this link and use the login credentials to login within MT4 once it has launched.

And that's it! Enjoy your MT4!

w5MwaRg.png
 
Last edited:
FTMO Trader Scouting
Back
Top