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 source_install-nebula-graph-by-rpm-or-deb.md #1142

Merged
merged 3 commits into from
Nov 2, 2021
Merged
Changes from 1 commit
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
12 changes: 12 additions & 0 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 @@ -119,12 +119,24 @@ RPM和DEB是Linux系统下常见的两种安装包格式,本文介绍如何使
$ sudo rpm -ivh --prefix=<installation_path> <package_name>
```

例如安装在默认路径下{{nebula.release}}版本的RPM包:

```bash
sudo rpm -ivh nebula-graph-{{nebula.release}}.el7.x86_64.rpm
```

- 安装DEB包

```bash
$ sudo dpkg -i --instdir==<installation_path> <package_name>
```

例如安装在默认路径下{{nebula.release}}版本的DEB包:

```bash
sudo dpkg -i nebula-graph-{{nebula.release}}.ubuntu1804.amd64.deb
```

!!! Note

如果不设置安装路径,默认安装路径为`/usr/local/nebula/`。
Expand Down