Local Package Deployment

This document describes TuGraph Local Package Deployment.

1. Environment preparation

TuGraph local package deployment requires a corresponding environment, and quick verification can use streamlined installation packages, which require almost no third-party libraries.

If you need to use the complete TuGraph function, please refer to the tugraph-db source code directory ci/images/tugraph-runtime-*-Dockerfile. This script contains the complete environment construction process.

2. Download the installation package

For the latest version of the installation package address, see “TuGraph-Latest-Version” of Guide

You can also visit Github to download: TuGraph Release

3. Installation method under CentOS

The .rpm installation package for TuGraph installed on CentOS, which contains the TuGraph executable file as well as header files and related library files required for writing embedded programs and stored procedures.

Use the downloaded `tugraph_x.y.z.rpm installation package to install it in the terminal. You only need to run the following command:

$ rpm -ivh tugraph-x.y.z.rpm

Users can also specify the installation directory by specifying the --prefix option.

4. Installation method under Ubuntu

A .deb installation package for TuGraph installed on Ubuntu, which contains the TuGraph executable file as well as header files and related library files required for writing embedded programs and stored procedures.

Use the downloaded tugraph_x.y.z.deb installation package to install it in the terminal. You only need to run the following command:

$ sudo dpkg -i tugraph-x.y.z.deb

This command installs TuGraph in the /usr/local directory by default. Users can also change the installation directory by specifying the --instdir=<directory> option.