Ubuntu16 LTS (64bit)でWineでMT5をインストールしようとしたら、
A debugger has been found running in your system.
というエラーメッセージがでてインストールできませんでした。この対処法が見つかったので紹介します。
インストールできない原因
Metatrader5が32bitのアプリで環境が64bitだからなようです。
環境の64bitに合わせるようにwineの設定をする必要があります。
解決方法
こちらの記事が参考にして解決できました。

Install Metatrader 5 on Ubuntu 17.04
I try to install Metatrader 5, on Ubuntu 17.04 (64-bit). I get stuck, and need somebody to help me to solve this problem. I've installed wine-2.0.1, which is th...
手順
1.最新のwine3.0をインストールする
下のサイトも参考になります

How to Install Wine 5.0 on Debian, Ubuntu and Linux Mint
This article describes a few easy steps to install and configure Wine under Debian, Ubuntu, and Linux Mint to install windows software on the Linux system.
ターミナル起動して下をコピペしてenter
sudo dpkg --add-architecture i386 wget -nc https://dl.winehq.org/wine-builds/Release.key sudo apt-key add Release.key sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ sudo apt-get update
Stable branchをインストールします
sudo apt-get install --install-recommends winehq-stable
2. Wineの設定をしてインストール
WINEARCH=win32 WINEPREFIX=~/.wine32 wineboot
Metatrader 5をインストールする。
/path/to/の部分はexeのあるパスを指定してください。だいたい ~/Downloads/mt5setup.exeとなるかな
WINEPREFIX=~/.wine32 wine start /unix /path/to/mt5setup.exe
以上でアイコンがデスクトップに表示されると思います
オプション・おまけ
Finally to run MetaTrader 5 add the following to your .bashrc our .profile. And type metatrader on your terminal.
export WINEPREFIX=~/.wine32
alias metatrader=’wine start “C:\program files\metatrader 5\terminal.exe”‘