<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="mysql-cluster-install-debian">
      </a>
      25.3.1.3 Installing NDB Cluster Using .deb Files
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045122682944">
  </a>
  <a class="indexterm" name="idm46045122681456">
  </a>
  <a class="indexterm" name="idm46045122679968">
  </a>
  <p>
   The section provides information about installing NDB Cluster on
        Debian and related Linux distributions such Ubuntu using the
   <code class="filename">
    .deb
   </code>
   files supplied by Oracle for this
        purpose.
  </p>
  <p>
   Oracle also provides an NDB Cluster APT repository for Debian
        and other distributions. See
   <a class="ulink" href="/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-cluster-install" target="_top">
    <em class="citetitle">
     Installing
        MySQL NDB Cluster Using the APT Repository
    </em>
   </a>
   ,
        for instructions and additional information.
  </p>
  <p>
   Oracle provides
   <code class="filename">
    .deb
   </code>
   installer files for
        NDB Cluster for 32-bit and 64-bit platforms. For a Debian-based
        system, only a single installer file is necessary. This file is
        named using the pattern shown here, according to the applicable
        NDB Cluster version, Debian version, and architecture:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-simple"><div class="docs-select-all right" id="sa42724233"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-simple">mysql<span class="token operator">-</span>cluster<span class="token operator">-</span>gpl<span class="token operator">-</span><em class="replaceable">ndbver</em><span class="token operator">-</span>debian<em class="replaceable">debianver</em><span class="token operator">-</span><em class="replaceable">arch</em><span class="token punctuation">.</span>deb</code></pre>
  </div>
  <p>
   Here,
   <em class="replaceable">
    <code>
     ndbver
    </code>
   </em>
   is the 3-part
   <code class="literal">
    NDB
   </code>
   engine version number,
   <em class="replaceable">
    <code>
     debianver
    </code>
   </em>
   is the major version of
        Debian (
   <code class="literal">
    8
   </code>
   or
   <code class="literal">
    9
   </code>
   ), and
   <em class="replaceable">
    <code>
     arch
    </code>
   </em>
   is one of
   <code class="literal">
    i686
   </code>
   or
   <code class="literal">
    x86_64
   </code>
   . In the
        examples that follow, we assume you wish to install NDB
        8.4.0 on a 64-bit Debian 9 system; in this
        case, the installer file is named
   <code class="filename">
    mysql-cluster-gpl-8.4.0-debian9-x86_64.deb-bundle.tar
   </code>
   .
  </p>
  <p>
   Once you have downloaded the appropriate
   <code class="filename">
    .deb
   </code>
   file, you can untar it, and then
        install it from the command line using
   <code class="literal">
    dpkg
   </code>
   ,
        like this:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa68872878"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">dpkg</span> <span class="token property">-i</span> mysql-cluster-gpl-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>0-debian9-i686<span class="token punctuation">.</span>deb</code></pre>
  </div>
  <p>
   You can also remove it using
   <code class="literal">
    dpkg
   </code>
   as shown
        here:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa17676115"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">dpkg</span> <span class="token property">-r</span> mysql</code></pre>
  </div>
  <p>
   The installer file should also be compatible with most graphical
        package managers that work with
   <code class="filename">
    .deb
   </code>
   files,
        such as
   <code class="literal">
    GDebi
   </code>
   for the Gnome desktop.
  </p>
  <p>
   The
   <code class="filename">
    .deb
   </code>
   file installs NDB Cluster under
   <code class="filename">
    /opt/mysql/server-
    <em class="replaceable">
     <code>
      version
     </code>
    </em>
    /
   </code>
   ,
        where
   <em class="replaceable">
    <code>
     version
    </code>
   </em>
   is the 2-part release
        series version for the included MySQL server. For NDB
        8.4, this is always
   <code class="literal">
    8.4
   </code>
   . The directory layout is the
        same as that for the generic Linux binary distribution (see
   <a class="xref" href="binary-installation.html#binary-installation-layout" title="Table 2.3 MySQL Installation Layout for Generic Unix/Linux Binary Package">
    Table 2.3, “MySQL Installation Layout for Generic Unix/Linux Binary Package”
   </a>
   ), with the
        exception that startup scripts and configuration files are found
        in
   <code class="filename">
    support-files
   </code>
   instead of
   <code class="filename">
    share
   </code>
   . All NDB Cluster executables, such as
   <a class="link" href="mysql-cluster-programs-ndb-mgm.html" title="25.5.5 ndb_mgm — The NDB Cluster Management Client">
    <span class="command">
     <strong>
      ndb_mgm
     </strong>
    </span>
   </a>
   ,
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   , and
   <a class="link" href="mysql-cluster-programs-ndb-mgmd.html" title="25.5.4 ndb_mgmd — The NDB Cluster Management Server Daemon">
    <span class="command">
     <strong>
      ndb_mgmd
     </strong>
    </span>
   </a>
   , are placed in the
   <code class="filename">
    bin
   </code>
   directory.
  </p>
 </div>
 <br/>
</div>
