Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RPM/DEB installation #1136

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions docs-2.0/reuse/source_install-nebula-graph-by-rpm-or-deb.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ Prepare the right [resources](https://docs.nebula-graph.io/{{nebula.release}}/4.
$ sudo rpm -ivh --prefix=<installation_path> <package_name>
```

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
Expand All @@ -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=<installation_path> <package_name>
$ sudo dpkg -i <package_name>
```

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
Expand Down