Skip to content

Commit

Permalink
Update source_install-nebula-graph-by-rpm-or-deb.md (#993)
Browse files Browse the repository at this point in the history
* Update source_install-nebula-graph-by-rpm-or-deb.md

added examples for dpkg/rpm, to remove confusing/questioning on what is the package_name

* address Joe's comment
  • Loading branch information
wey-gu authored Sep 23, 2021
1 parent 75d14e9 commit 6b9977a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 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 @@ -114,12 +114,25 @@ RPM和DEB是Linux系统下常见的两种安装包格式,本文介绍如何使
```bash
$ sudo rpm -ivh --prefix=<installation_path> <package_name>
```

例如,要安装适用于Centos 7.5的Nebula Graph {{ nebula.release }}安装包,运行如下命令:

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


- 安装DEB包

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

例如,要安装适用于Ubuntu 18.04的Nebula Graph {{ nebula.release }}安装包,运行如下命令:

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

!!! Note

Expand Down

0 comments on commit 6b9977a

Please sign in to comment.