Skip to content

Commit

Permalink
Update source_install-nebula-graph-by-rpm-or-deb.md
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber committed Nov 1, 2021
1 parent 306c5ec commit 216c451
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 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,27 +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包:
例如安装在默认路径下{{nebula.release}}版本的RPM包:

```bash
sudo rpm -ivh nebula-graph-{{nebula.release}}.el7.x86_64.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包:
例如安装在默认路径下{{nebula.release}}版本的DEB包:

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

!!! Note

Expand Down

0 comments on commit 216c451

Please sign in to comment.