Skip to content

Commit

Permalink
Update RPM/DEB installation (#1136)
Browse files Browse the repository at this point in the history
  • Loading branch information
randomJoe211 authored Mar 8, 2022
1 parent cb55652 commit bcac0e3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 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 @@ -126,7 +126,9 @@ Prepare the right [resources](https://docs.nebula-graph.io/{{nebula.release}}/4.
$ sudo rpm -ivh --prefix=<installation_path> <package_name>
```

For example, to install an RPM package in the default path for the {{nebula.release}} version.
The option `--prefix` indicates the installation path. The default path is `/usr/local/nebula/`.

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

```bash
sudo rpm -ivh nebula-graph-{{nebula.release}}.el7.x86_64.rpm
Expand All @@ -135,10 +137,13 @@ Prepare the right [resources](https://docs.nebula-graph.io/{{nebula.release}}/4.
* Use the following syntax to install with a DEB package.

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

For example, to install a DEB package in the default path for the {{nebula.release}} version.
!!! note
Customizing the installation path is not supported when installing Nebula Graph with a DEB package. The default installation path is `/usr/local/nebula/`.

For example, to install a DEB package for the {{nebula.release}} version, run the following command.

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

0 comments on commit bcac0e3

Please sign in to comment.