Skip to content

Commit

Permalink
Update source_install-nebula-graph-by-rpm-or-deb.md (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber authored Nov 1, 2021
1 parent e89d960 commit 68dde8d
Showing 1 changed file with 18 additions and 6 deletions.
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 @@ -121,15 +121,27 @@ Prepare the right [resources](https://docs.nebula-graph.io/{{nebula.release}}/4.

* Use the following syntax to install with an RPM package.

```bash
sudo rpm -ivh --prefix=<installation_path> <package_name>
```
```bash
$ sudo rpm -ivh --prefix=<installation_path> <package_name>
```

For example, to install an RPM package in the default path for the {{nebula.release}} version.

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

For example, to install a DEB package in the default path for the {{nebula.release}} version.

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

!!! note

Expand Down

0 comments on commit 68dde8d

Please sign in to comment.