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 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
24 changes: 18 additions & 6 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 @@ -115,15 +115,27 @@ RPM和DEB是Linux系统下常见的两种安装包格式,本文介绍如何使

- 安装RPM包

```bash
$ sudo rpm -ivh --prefix=<installation_path> <package_name>
```
```bash
$ 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>
```
```bash
$ sudo dpkg -i --instdir==<installation_path> <package_name>
```

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

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

!!! Note

Expand Down