From 99c5ca858c967b767f2ad68cf4f72e15e743fefe Mon Sep 17 00:00:00 2001 From: randomJoe211 <69501902+randomJoe211@users.noreply.github.com> Date: Tue, 8 Mar 2022 17:42:31 +0800 Subject: [PATCH] Update RPM/DEB installation --- .../source_install-nebula-graph-by-rpm-or-deb.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs-2.0/reuse/source_install-nebula-graph-by-rpm-or-deb.md b/docs-2.0/reuse/source_install-nebula-graph-by-rpm-or-deb.md index 9ee8e045f13..7974048493a 100644 --- a/docs-2.0/reuse/source_install-nebula-graph-by-rpm-or-deb.md +++ b/docs-2.0/reuse/source_install-nebula-graph-by-rpm-or-deb.md @@ -126,7 +126,9 @@ Prepare the right [resources](https://docs.nebula-graph.io/{{nebula.release}}/4. $ sudo rpm -ivh --prefix= ``` - For example, to install an RPM package in the default path for the {{nebula.release}} version. + The option `--prefix` indicates the installation path. The default path is `/usr/local/nebula/`. + + For example, to install an RPM package in the default path for the {{nebula.release}} version, run the following command. ```bash sudo rpm -ivh nebula-graph-{{nebula.release}}.el7.x86_64.rpm @@ -135,10 +137,13 @@ Prepare the right [resources](https://docs.nebula-graph.io/{{nebula.release}}/4. * Use the following syntax to install with a DEB package. ```bash - $ sudo dpkg -i --instdir= + $ sudo dpkg -i ``` - For example, to install a DEB package in the default path for the {{nebula.release}} version. + !!! note + Customizing the installation path is not supported when installing Nebula Graph with a DEB package. The default installation path is `/usr/local/nebula/`. + + For example, to install a DEB package for the {{nebula.release}} version, run the following command. ```bash sudo dpkg -i nebula-graph-{{nebula.release}}.ubuntu1804.amd64.deb