{"id":15797,"date":"2024-06-17T12:26:13","date_gmt":"2024-06-17T08:26:13","guid":{"rendered":"https:\/\/fxglory.com\/helpdesk\/docs\/knowledgebase\/metatrader-4-mt4\/how-to-install-metatrader-4-on-linux-a-comprehensive-guide\/"},"modified":"2024-07-11T16:39:14","modified_gmt":"2024-07-11T12:39:14","slug":"installing-metatrader-4-on-linux","status":"publish","type":"docs","link":"https:\/\/fxglory.com\/helpdesk\/docs\/knowledgebase\/metatrader-4-mt4\/installing-metatrader-4-on-linux\/","title":{"rendered":"How to Install MetaTrader 4 on Linux (Ubuntu)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"15797\" class=\"elementor elementor-15797\" data-elementor-post-type=\"docs\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ad77e2f elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"ad77e2f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6316e29\" data-id=\"6316e29\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4e204b0 elementor-widget elementor-widget-text-editor\" data-id=\"4e204b0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>MetaTrader 4 (MT4) is one of the most popular trading platforms in the world, offering a range of tools for traders to analyze financial markets and perform trades. While MT4 is primarily designed for Windows, it can also be installed on Linux systems using Wine, a compatibility layer capable of running Windows applications on Unix-like operating systems. This guide will walk you through the process of installing MetaTrader 4 on Linux, from setting up Wine to running MT4.<\/p><h2>Installing Wine on Your Linux Ubuntu<\/h2><p>To run MetaTrader 4 on Linux, we first need to install Wine. Follow these steps to get Wine up and running:<\/p><p>\u00a0<\/p><h3>Step 1: Adding the i386 Architecture<\/h3><p>Wine requires the i386 architecture to be enabled since to run 32-bit applications. By default, some Linux distributions might not include support for 32-bit architecture. To add this support, open your terminal and run:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f701979 elementor-widget elementor-widget-code-highlight\" data-id=\"f701979\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>sudo dpkg --add-architecture i386<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6da8220 elementor-widget elementor-widget-text-editor\" data-id=\"6da8220\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-1.webp\"><img fetchpriority=\"high\" decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-15816\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-1.webp\" alt=\"\" width=\"800\" height=\"478\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-1.webp 925w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-1-300x179.webp 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-1-768x459.webp 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p><p>This command ensures that your system can handle 32-bit packages, which are necessary for Wine to function correctly.<\/p><h3>Step 2: Creating the Keyrings Directory<\/h3><p>The next step is to ensure that there is a directory for the WineHQ keyrings. The keyrings directory is where the system stores trusted keys used for verifying the integrity of downloaded packages. Run the following command to create this directory:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c8e0496 elementor-widget elementor-widget-code-highlight\" data-id=\"c8e0496\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>sudo mkdir -pm755 \/etc\/apt\/keyrings\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6c61a92 elementor-widget elementor-widget-text-editor\" data-id=\"6c61a92\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-02.webp\"><img decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-15817\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-02.webp\" alt=\"\" width=\"800\" height=\"478\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-02.webp 925w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-02-300x179.webp 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-02-768x459.webp 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p><p>The <strong>-pm755<\/strong> flag ensures that the directory is created with the appropriate permissions, even if parent directories do not exist.<\/p><h3>Step 3: Download the WineHQ Key<\/h3><p>WineHQ provides a key that needs to be downloaded and stored in the keyrings directory. This key is used to verify the authenticity of the WineHQ packages. Download the key using:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d54cd8a elementor-widget elementor-widget-code-highlight\" data-id=\"d54cd8a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>sudo wget -O \/etc\/apt\/keyrings\/winehq-archive.key https:\/\/dl.winehq.org\/wine-builds\/winehq.key\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-90f83d2 elementor-widget elementor-widget-text-editor\" data-id=\"90f83d2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-03.webp\"><img decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-15818\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-03.webp\" alt=\"\" width=\"800\" height=\"478\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-03.webp 925w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-03-300x179.webp 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-03-768x459.webp 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p><p>The wget command retrieves the key from the WineHQ server and saves it to the specified directory.<\/p><h3>Step 4: Adding the WineHQ Repository<\/h3><p>WineHQ provides a key that needs to be downloaded and stored in the keyrings directory. This key is used to verify the authenticity of the WineHQ packages. Download the key using:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1063c61 elementor-widget elementor-widget-code-highlight\" data-id=\"1063c61\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>sudo wget -NP \/etc\/apt\/sources.list.d\/ https:\/\/dl.winehq.org\/wine-builds\/ubuntu\/dists\/$(lsb_release -cs)\/winehq-$(lsb_release -cs).sources\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-46dd8a5 elementor-widget elementor-widget-text-editor\" data-id=\"46dd8a5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-04.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-15819\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-04.webp\" alt=\"\" width=\"800\" height=\"478\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-04.webp 925w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-04-300x179.webp 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-04-768x459.webp 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p><p>\u00a0<\/p><p>after the process finished, update your linux package lists using the following command:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-df34119 elementor-widget elementor-widget-code-highlight\" data-id=\"df34119\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>sudo apt update<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-037f772 elementor-widget elementor-widget-text-editor\" data-id=\"037f772\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-05.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-15820\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-05.webp\" alt=\"\" width=\"800\" height=\"478\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-05.webp 925w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-05-300x179.webp 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-05-768x459.webp 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p><h3>Step 5: Install Wine<\/h3><p>With the repository added and the package list updated, you can now install Wine. Use the following command to install Wine along with its recommended packages:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4467c02 elementor-widget elementor-widget-code-highlight\" data-id=\"4467c02\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>sudo apt install --install-recommends winehq-stable<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-92309de elementor-widget elementor-widget-text-editor\" data-id=\"92309de\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>You can verify that Wine has been installed correctly by checking its version. Run:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8050099 elementor-widget elementor-widget-code-highlight\" data-id=\"8050099\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>wine --version<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-96b927e elementor-widget elementor-widget-text-editor\" data-id=\"96b927e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-05-1.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-15821 size-full\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-05-1.webp\" alt=\"\" width=\"736\" height=\"482\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-05-1.webp 736w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-05-1-300x196.webp 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-05-1-60x40.webp 60w\" sizes=\"(max-width: 736px) 100vw, 736px\" \/><\/a><\/p><h2>Installing MetaTrader 4 using Wine<\/h2><p>With Wine installed, we can now proceed to install MetaTrader 4.<a href=\"https:\/\/fxglory.com\/trading-platforms\/\"> First Downlaod MetaTrader 4<\/a>.<\/p><p>Once the MT4 setup file is downloaded, you need to navigate to the directory where the file is located. For example, if the file is saved in your Downloads folder, use the following command to change to that directory:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6d8df54 elementor-widget elementor-widget-code-highlight\" data-id=\"6d8df54\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>cd ~\/Downloads<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-10fe4fe elementor-widget elementor-widget-text-editor\" data-id=\"10fe4fe\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To install MetaTrader 4 using Wine, you need to run the setup file with Wine. Execute the following command:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8b0c0c2 elementor-widget elementor-widget-code-highlight\" data-id=\"8b0c0c2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>wine mt4setup.exe<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-914be0c elementor-widget elementor-widget-text-editor\" data-id=\"914be0c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The MetaTrader 4 installation wizard will launch. This wizard is similar to what you would see on a Windows machine. Follow the on-screen instructions to complete the installation.<\/p><p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-06.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-15825\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-06-1024x578.webp\" alt=\"\" width=\"800\" height=\"451\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-06-1024x578.webp 1024w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-06-300x169.webp 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-06-768x433.webp 768w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-06-270x152.webp 270w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-06.webp 1104w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p><p>\u00a0<\/p><p>After the installation is complete, you&#8217;ll notice a MetaTrader 4 shortcut on your Linux desktop. However, the icon may appear grayed-out, and attempting to run it might result in an <strong>&#8220;Untrusted Desktop File&#8221;<\/strong> error.<\/p><p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-09.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-15827 size-full\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-09.webp\" alt=\"\" width=\"761\" height=\"427\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-09.webp 761w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-09-300x168.webp 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-09-270x152.webp 270w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/><\/a><\/p><p>\u00a0<\/p><p>To resolve this issue, right-click on the MetaTrader 4 icon and select <strong>&#8220;Allow Launching&#8221;<\/strong>. This action will change the icon from grayed-out to its regular, colorful state, indicating that it&#8217;s ready to use.<\/p><p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-15828 size-full\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-10.png\" alt=\"\" width=\"761\" height=\"427\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-10.png 761w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-10-300x168.png 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-10-270x152.png 270w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/><\/a><\/p><p>\u00a0<\/p><p>You can also run MetaTrader 4 using the Linux Terminal. You need to navigate to the directory where MetaTrader 4 has been installed and run <strong>&#8220;Terminal.exe&#8221;<\/strong> using <strong>&#8220;Wine&#8221;<\/strong>. This is typically located in the <strong>&#8220;.wine&#8221;<\/strong> directory under your home folder. Use the following command to change to the MT4 installation directory and run your MT4&#8217;s terminal:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-161a7a9 elementor-widget elementor-widget-code-highlight\" data-id=\"161a7a9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>cd ~\/.wine\/drive_c\/Program\\ Files\/FXGlory\\ MetaTrader\\ 4\nwine terminal.exe\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bd47511 elementor-widget elementor-widget-text-editor\" data-id=\"bd47511\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"color: #ff4366;\">*Note: If you get <strong>&#8220;No such file or directory&#8221;<\/strong>,\u00a0 for the directory, your MetaTrader 4 may be installed under the &#8220;Program Files (x86)&#8221; directory; instead, use the following command:<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b29ba81 elementor-widget elementor-widget-code-highlight\" data-id=\"b29ba81\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>cd ~\/.wine\/drive_c\/Program\\ Files\\ \\(x86\\)\/FXGlory\\ MetaTrader\\ 4\nwine terminal.exe\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9e8a162 elementor-widget elementor-widget-text-editor\" data-id=\"9e8a162\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>If the MetaTrader 4 is installed correctly, this command starts the software, and you can begin trading on your Linux system.<\/p><p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-08.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-15829\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-08-1024x542.webp\" alt=\"\" width=\"800\" height=\"424\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-08-1024x542.webp 1024w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-08-300x159.webp 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-08-768x407.webp 768w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/06\/install-metatrader-on-linux-ubuntu-step-08.webp 1443w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p><p>Installing MetaTrader 4 on Linux might seem challenging, but with the help of Wine, it is entirely possible and quite straightforward. By following the steps outlined in this guide, you can successfully set up and run MetaTrader 4 on your Linux system, enabling you to take advantage of its powerful trading tools and features. Happy trading!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>MetaTrader 4 (MT4) is one of the most popular trading platforms in the world, offering a range of tools for traders to analyze financial markets and perform trades. While MT4 is primarily designed for Windows, it can also be installed on Linux systems using Wine, a compatibility layer capable of running Windows applications on Unix-like [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":9528,"menu_order":57,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-15797","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/docs\/15797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/comments?post=15797"}],"version-history":[{"count":68,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/docs\/15797\/revisions"}],"predecessor-version":[{"id":15886,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/docs\/15797\/revisions\/15886"}],"up":[{"embeddable":true,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/docs\/9528"}],"wp:attachment":[{"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/media?parent=15797"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/doc_tag?post=15797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}