---
title: "Installation on Linux - For Advanced Users - Getting Started - MetaTrader 5 Help"
description: "The platform runs on Linux using Wine. Wine is a free compatibility layer that allows application software developed for... - Installation on Linux - For Advanced Users - Getting Started"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/en/terminal/help/start_advanced/install_linux"
---

[MetaTrader 5 Help](https://www.metatrader5.com/en/terminal/help) → [Getting Started](https://www.metatrader5.com/en/terminal/help/startworking) → [For Advanced Users](https://www.metatrader5.com/en/terminal/help/startworking/start_advanced) → Installation on Linux

# How to Install the Platform on Linux

The platform runs on Linux using [Wine](https://www.winehq.org/). Wine is a free compatibility layer that allows application software developed for Microsoft Windows to run on Unix-like operating systems.

We have prepared a special script to make the installation process as simple as possible. The script will automatically detect your system version, it supports Ubuntu, Debian, Linux Mint and Fedora distributions. Based on it, it will download and install the appropriate Wine package. After that, it will download and run the platform installer.

To start the installation, open the command line (Terminal) without the administrator privileges (no sudo) and specify the relevant command:

```
wget https://download.terminal.free/cdn/web/metaquotes.software.corp/mt5/mt5linux.sh ; chmod +x mt5linux.sh ; ./mt5linux.sh
```

This command downloads the script, makes it executable and runs it. You only need to enter your account password to allow installation.

![Installing Wine and the platform with a single command](https://www.metatrader5.com/i/help/terminal/en/linux_command_line.png)

If you are prompted to install additional Wine packages (Mono, Gecko), please agree, as these packages are required for platform operation. The MetaTrader 5 installer will launch after that, proceed with the standard steps. Once the installation is complete, restart your operating system, and the platform is ready to go.

![The platform is ready to run on Linux](https://www.metatrader5.com/i/help/terminal/en/linux_terminal.png)

## Install updates in a timely manner

It is highly recommended to always use the latest versions of the operating system and Wine. Timely updates increase platform operation stability and improve performance.

To update Wine, open a command prompt and type the following command:

```
sudo apt update ; sudo apt upgrade
```

For further information, please visit the [official Wine website](https://wiki.winehq.org/Download).

## Platform Data Directory

Wine creates a separate virtual logical drive with the necessary environment for every installed program. The default path of the installed platform data folder is as follows:

```
Home directory\.mt5\drive_c\Program Files\MetaTrader 5
```

Use the platform on Linux: install with a single command and enjoy all the platform features.

## In this section

- [Platform Installation](https://www.metatrader5.com/en/terminal/help/start_advanced/installation)
- [Installation on Mac OS](https://www.metatrader5.com/en/terminal/help/start_advanced/install_mac)
- Installation on Linux
- [Platform Start](https://www.metatrader5.com/en/terminal/help/start_advanced/start)
- [Extended Authentication](https://www.metatrader5.com/en/terminal/help/start_advanced/extended_authorization)
- [One Time Passwords - 2FA/TOTP](https://www.metatrader5.com/en/terminal/help/start_advanced/otp)
- [Files and Folders](https://www.metatrader5.com/en/terminal/help/start_advanced/structure)
- [Manage Trading Accounts](https://www.metatrader5.com/en/terminal/help/start_advanced/account_manage)
- [Mailbox](https://www.metatrader5.com/en/terminal/help/start_advanced/mail)
- [Security System](https://www.metatrader5.com/en/terminal/help/start_advanced/security)
- [Live Update](https://www.metatrader5.com/en/terminal/help/start_advanced/autoupdate)
- [Platform Logs](https://www.metatrader5.com/en/terminal/help/start_advanced/journal)
- [Task Manager](https://www.metatrader5.com/en/terminal/help/start_advanced/task_manager)
- [Hot Keys](https://www.metatrader5.com/en/terminal/help/start_advanced/hotkeys)
- [Uninstalling the Platform](https://www.metatrader5.com/en/terminal/help/start_advanced/deinstallation)

```json
{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ {"@type": "ListItem", "position": 1, "item": {"@id": "https://www.metatrader5.com/en/terminal/help", "name": "MetaTrader 5 Help"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/startworking", "name": "Getting Started"}}, {"@type": "ListItem", "position": 3, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/startworking/start_advanced", "name": "For Advanced Users"}}, {"@type": "ListItem", "position": 4, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/start_advanced/install_linux", "name": "Installation on Linux"}} ]}
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "MetaTrader 5: Installation on Linux", "acceptedAnswer": { "@type": "Answer", "text": "The platform runs on Linux using Wine. Wine is a free compatibility layer that allows application software developed for Microsoft Windows to run..." } }] }
```
