content_image/700645.jpg content_image/700646.jpg
shell> dpkg -i mysql-cluster-gpl-8.0.25-debian9-i686.deb 

You can also remove it using dpkg  as shown here: 

shell> dpkg -r mysql 

The installer file should also be compatible with most graphical package managers that work with .deb files, such as GDebi  for the Gnome desktop. 

The .deb  file installs NDB Cluster under /opt/mysql/server- version / , where version  is the 2- part release series version for the included MySQL server. For NDB 8.0, this is always 5.7 . The directory layout is the same as that for the generic Linux binary distribution (see Table 2.3, “MySQL Installation Layout for Generic Unix/Linux Binary Package” ), with the exception that startup scripts and configuration files are found in support-files  instead of share . All NDB Cluster executables, such as ndb_mgm , ndbd , and ndb_mgmd , are placed in the bin  directory. 

## 23.2.1.4 Building NDB Cluster from Source on Linux 

This section provides information about compiling NDB Cluster on Linux and other Unix-like platforms. Building NDB Cluster from source is similar to building the standard MySQL Server, although it differs in a few key respects discussed here. For general information about building MySQL from source, see Section 2.9, “Installing MySQL from Source” . For information about compiling NDB Cluster on Windows platforms, see Section 23.2.2.2, “Compiling and Installing NDB Cluster from Source on Windows” . 

Building MySQL NDB Cluster 8.0 requires using the MySQL Server 8.0 sources. These are available from the MySQL downloads page at https://dev.mysql.com/downloads/. The archived source file should have a name similar to mysql-8.0.25.tar.gz . You can also obtain the sources from GitHub at https:// github.com/mysql/mysql-server. 

<img src='content_image/700645.jpg'>

## Note 

In previous versions, building of NDB Cluster from standard MySQL Server sources was not supported. In MySQL 8.0 and NDB Cluster 8.0, this is no longer the case — both products are now built from the same sources . 

The WITH_NDBCLUSTER  option for CMake  causes the binaries for the management nodes, data nodes, and other NDB Cluster programs to be built; it also causes mysqld  to be compiled with NDB storage engine support. This option (or one of its aliases WITH_NDBCLUSTER_STORAGE_ENGINE  and WITH_PLUGIN_NDBCLUSTER ) is required when building NDB Cluster. 

<img src='content_image/700646.jpg'>

## Important 

The WITH_NDB_JAVA  option is enabled by default. This means that, by default, if CMake  cannot find the location of Java on your system, the configuration process fails; if you do not wish to enable Java and ClusterJ support, you must indicate this explicitly by configuring the build using -DWITH_NDB_JAVA=OFF . Use WITH_CLASSPATH  to provide the Java classpath if needed. 

For more information about CMake  options specific to building NDB Cluster, see Options for Compiling NDB Cluster. 

After you have run make && make install  (or your system’s equivalent), the result is similar to what is obtained by unpacking a precompiled binary to the same location. 

Management nodes.  When building from source and running the default make install , the management server and management client binaries ( ndb_mgmd  and ndb_mgm ) can be found in /usr/ 

