Trading in Linux | How to install Metatrader in Ubuntu?

//Trading in Linux | How to install Metatrader in Ubuntu?

The finance industry is becoming more of a fintech industry of late. What started as mere lagging electronic payments has now transcended to instant payments and robotic process automation. Further, Blockchain and AI are lurking around the corner to coup the industry. Some term it as disruption while the others coin it as innovation. And there is no dispute that the scope of technology has a greater hand in investment banking and trading as well. The inception of charting software did bring in non-financial players to the market. Now, the automated trading systems are literally a red carpet invitation to tech-savvy coders. But so far, the red carpet was exclusive to Windows users; how about extending it to Linux users. Yes, we at FRXE are committed to providing a smooth experience to trading in Linux.

For tech geeks, here is a read on why you should choose MT5 over MT4. It is not as you think!

For new incumbents of Linux

What is Linux?

what is linux

Linux is an operating system like Windows. However, Linux is an open-source application, which essentially means that the copyrighted incumbent has allowed the users of the system to use, modify, and distribute it.

So, you don’t have to pay for the license since it is free.

Sounds attractive?

Here’s the catch, since there is only a little to nil commercial or vested interest in the Linux, it hasn’t been promoted.

So, it failed to gain traction among the general population.

Only a fringe group of tech-savvy users, open-source advocates, and business entities use the Linux system as of now.

Hence, software developers do not create their application for this niche market. If not, they prioritize broader markets over this iota of users.

So, your life becomes tough if you’re a Linux user.

Why do people choose Linux?

People go to lengths to use Linux. Why?


Brainy hackers from around the world have contributed to many variants of its source code.

Hence, its security system is impeccable, which makes it a good prospect for dealing with high-value transactions.

Efficiency & Customization

It has a better utilization rate of hardware resources than windows. So, the processing speed tends to be way higher than Windows.

Further, most variants of Linux OS are entirely customizable. Hence, you can tailor fit the OS to meet the needs of high-end financial software.

Though the advantages in Linux are paramount, you can’t use trading applications like Metatrader directly.

You can circumvent this problem by using either of these approaches.

Approach#1: Wine

The acronym of WINE stands for Wine Is Not an Emulator. But it does the job of an emulator.

It creates an environment within the Linux OS for you to run the Windows programs.

Hence, you can use this application in Linux to run Metatrader or trading programs.

How to install Wine in Ubuntu?

1. Open your Terminal.

2. Enable 32-bit architecture by using the command. If it asks for your password, then promptly enter it.

sudo dpkg --add-architecture i386
trading in linux wine installation 1

3. Then, download and add the repository to your package through these commands.

wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'
Check for the latest version command here ( https://wiki.winehq.org/Ubuntu )
trading in linux wine installation 2

4. Update the package manager through the following command.

sudo apt update -y && sudo apt upgrade -y
wine installation 3

5. Now, install a stable version of wine along with its dependencies.

sudo apt install --install-recommends winehq-stable -y
wine installation 4

6. Configure Wine using the following command.

export WINEPREFIX=~/.wine
wine winecfg
trading in linux wine installation 5

The above commands create a hidden fake C:/ folder. This folder contains all the necessary DLL and registry files, which help the emulation of windows application. Hence, ensure the creation of the folder.

trading in linux through wine

You can now use Wine on your Linux system. In case, you get a pop up asking for permission to install ‘gecko’, click ok to continue.

Now download the MT5 application from our FRXE website, and you can install it.

How to install FRXE MT5 trading application in Linux using wine?

Open your internet browser. Go to frxe.com and download the Metatrader 5 application.

Now, open the terminal and type in ‘cd’ , followed by the location of the directory of the ‘frxetrading5setup.exe’ file.

Open the downloaded file through wine using the following command.

wine frxetrading5setup.exe

The file will open, and you can install the application as you do in a windows OS.

MT5 trading in Linux

How to open the MT5 trading application in Linux?

In the recent versions of the Ubuntu, the applications create an icon on the desktop, just like the windows. A double click on the icon opens the MT5 and runs it up on the emulator, and you don’t have to break a sweat. After finishing operations, you can close the application as usual.

Uninstalling Metatrader

Open the terminal. Type in the below command.

wine uninstaller

It opens a dialog box that is similar to the control panel on the windows. You can modify or remove the programs using the panel.

wine uninstaller

Approach#2: Install a copy of windows

You can double boot your system with a version of Windows, keeping the Linux OS intact.

It is a good alternative since Wine is unstable at times, and you need to get support from winehq.org in case of a problem.

As a trader, when your positions are at stake, you wouldn’t have time to reach out to someone to find a solution to your problem.

And the Metatrader 5 application runs smoothly on Windows. However, dual booting has its own set of problems.

Trading in Linux: Means to an end

Where there is a will, there is a way. And if you’re seeking to use Metatrader in Linux, you can certainly use it. We, at FRXE, are fully commited to  help you all the way in giving best experience to Linux users. Further, you can reach our support team and book an appointement with our technical team, if you want us to help you in the installation process.