mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
Merge pull request #7936 from 3sky/add-prerequisite-to-doc
add prerequisite section before building binaries
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user