Skip to content

Commit

Permalink
Update source_install-nebula-graph-by-rpm-or-deb.md (#748)
Browse files Browse the repository at this point in the history
added dpkg/rpm examples

some users queried this in wechat/slack on what is the package_name
  • Loading branch information
wey-gu authored Sep 23, 2021
1 parent f63db25 commit bc865fb
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 @@ -121,12 +121,25 @@ Prepare the right [resources](https://docs.nebula-graph.io/{{nebula.release}}/4.
sudo rpm -ivh --prefix=<installation_path> <package_name>
```

For example, install the downloaded {{ nebula.release }} `CentOS 7` package:

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

* Use the following syntax to install with a DEB package.

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

For example, install the downloaded {{ nebula.release }} `Ubuntu 18.04` package:

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


!!! note

The default installation path is `/usr/local/nebula/`.
Expand Down

0 comments on commit bc865fb

Please sign in to comment.