From a6ca497b4150725d902b9094f4bd3355508842f2 Mon Sep 17 00:00:00 2001 From: Abby <78209557+abby-cyber@users.noreply.github.com> Date: Mon, 1 Nov 2021 18:11:19 +0800 Subject: [PATCH] Update source_install-nebula-graph-by-rpm-or-deb.md --- ...urce_install-nebula-graph-by-rpm-or-deb.md | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 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 5baec19b86e..ce49c491bf7 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 @@ -121,15 +121,27 @@ Prepare the right [resources](https://docs.nebula-graph.io/{{nebula.release}}/4. * Use the following syntax to install with an RPM package. - ```bash - sudo rpm -ivh --prefix= - ``` + ```bash + $ sudo rpm -ivh --prefix= + ``` + + For example, to install an RPM package in the default path for the {{nebula.release}} version. + + ```bash + sudo rpm -ivh nebula-graph-{{nebula.release}}.el7.x86_64.rpm + ``` * Use the following syntax to install with a DEB package. - ```bash - sudo dpkg -i --instdir== - ``` + ```bash + $ sudo dpkg -i --instdir== + ``` + + For example, to install a DEB package in the default path for the {{nebula.release}} version. + + ```bash + sudo dpkg -i nebula-graph-{{nebula.release}}.ubuntu1804.amd64.deb + ``` !!! note