Update 02-building-open5gs-from-sources.md

Few minor corrections;
 * Meson installed via apt
 * Directory corrections in regards to where to go on the system
 * Added copying the binaries to /usr/bin
This commit is contained in:
Nick
2020-04-20 12:07:45 +10:00
committed by GitHub
parent c6ea286fe2
commit 7c47a8901a

View File

@@ -40,13 +40,7 @@ $ sudo ip link set ogstun up
Install the dependencies for building the source code. Install the dependencies for building the source code.
```bash ```bash
$ sudo apt install python3-pip python3-setuptools python3-wheel ninja-build build-essential flex bison git libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-dev libbson-dev libyaml-dev $ sudo apt install python3-pip python3-setuptools python3-wheel ninja-build build-essential flex bison git libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-dev libbson-dev libyaml-dev meson
```
Install Meson using Python.
```bash
$ pip3 install --user meson
``` ```
Git clone. Git clone.
@@ -75,6 +69,7 @@ You need to perform the **installation process**.
```bash ```bash
$ cd build $ cd build
$ ninja install $ ninja install
$ cd ../
``` ```
### Configure Open5GS ### Configure Open5GS
@@ -138,7 +133,7 @@ If you modify the config files while Open5GS daemons are running, please restart
--- ---
```bash ```bash
$ cd install $ cd install/bin/
$ ./open5gs-pcrfd $ ./open5gs-pcrfd
Open5GS daemon v1.0.0 Open5GS daemon v1.0.0
@@ -203,6 +198,10 @@ Options:
-h : show this message and exit -h : show this message and exit
``` ```
You can also copy the binaries to /usr/bin to be able to run them from anywhere on the system.
```bash
$ cp open5gs* /usr/bin/
```
### Building the WebUI of Open5GS ### Building the WebUI of Open5GS
--- ---