Merge pull request #7936 from 3sky/add-prerequisite-to-doc

add prerequisite section before building binaries
This commit is contained in:
OpenShift Merge Robot
2020-10-08 17:11:15 -04:00
committed by GitHub

View File

@ -46,7 +46,7 @@ This section describes how to start a contribution to Podman.
### Prepare your environment
Read the [install documentation to see how to install dependencies](install.md) .
Read the [install documentation to see how to install dependencies](https://podman.io/getting-started/installation#build-and-run-dependencies).
The install documentation will illustrate the following steps:
- install libs and tools
@ -86,6 +86,17 @@ Makefile allow you to install needed tools:
$ make install.tools
```
### Prerequisite before build
You need install some dependencies before building a binary.
#### Fedora
```shell
$ sudo dnf install gpgme-devel libseccomp-devel.x86_64 libseccomp-devel.x86_64 systemd-devel
$ export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
```
### Building binaries and test your changes
To test your changes do `make binaries` to generate your binaries.