Previous versions of Linux Mint HOWTOs:
HOWTO: (Easily) install the latest Metatrader 4 (MT4) on Linux Mint 18.2
----------------------
Written for Linux Mint 19.3
MetaTrader 4 is a Windows based application, however, it can be installed on Linux Mint 19 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 19.. your mileage may very on other Linux distros, but do check the Execution Platforms forum for more HOWTOs with other distros.
Unlike previous versions of Linux Mint, Linux Mint 19's default version of Wine can run MetaTrader 4. In the past we had to add our own source for Wine, but that's no longer needed.
Let's start by installing wine.
Launch a terminal instance by pressing your home key (or clicking the "LM" menu button on your task bar,) and typing in Terminal. (Or, use the Ctrl+Alt+T desktop shortcut.)
In the terminal, type the following command:
(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 19's Cinnamon does not seem to automatically associate '.exe' files with Wine once Wine is installed, so we will have to use the terminal to launch the MT4 installer. Open another terminal window if you don't still have the one we used to install Wine open, and type the following:
Note: If you're not using Pepperstone, you will need to change the name to the name of your MT4 installer file.
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:
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.)
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.
Your desktop will now have MT4 icons on it for quick access to the application and Linux Mint 19 should associate them with Wine and launch things without an issue by just double clicking as you would expect.
And that's it! Enjoy MetaTrader 4!
HOWTO: (Easily) install the latest Metatrader 4 (MT4) on Linux Mint 18.2
----------------------
Written for Linux Mint 19.3
MetaTrader 4 is a Windows based application, however, it can be installed on Linux Mint 19 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 19.. your mileage may very on other Linux distros, but do check the Execution Platforms forum for more HOWTOs with other distros.
Unlike previous versions of Linux Mint, Linux Mint 19's default version of Wine can run MetaTrader 4. In the past we had to add our own source for Wine, but that's no longer needed.
Let's start by installing wine.
Launch a terminal instance by pressing your home key (or clicking the "LM" menu button on your task bar,) and typing in Terminal. (Or, use the Ctrl+Alt+T desktop shortcut.)
In the terminal, type the following command:
Code:
sudo apt-get update
sudo apt-get install winehq-stable

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 19's Cinnamon does not seem to automatically associate '.exe' files with Wine once Wine is installed, so we will have to use the terminal to launch the MT4 installer. Open another terminal window if you don't still have the one we used to install Wine open, and type the following:
Code:
cd Downloads/
wine pepperstone4setup.exe

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:

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.)

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.
Your desktop will now have MT4 icons on it for quick access to the application and Linux Mint 19 should associate them with Wine and launch things without an issue by just double clicking as you would expect.
And that's it! Enjoy MetaTrader 4!
