Line 26: |
Line 26: |
| The easiest way is to install distribution packages. | | The easiest way is to install distribution packages. |
| | | |
− | * RPM package names
| + | ; RPM packages |
− | ** <code>group Development\ Tools</code>
| + | : <code>protobuf protobuf-c protobuf-c-devel protobuf-compiler protobuf-devel protobuf-python</code> |
− | ** <code>protobuf</code>
| + | |
− | ** <code>protobuf-c</code>
| + | ; Debian packages |
− | ** <code>protobuf-c-devel</code>
| + | : <code>libprotobuf-dev libprotobuf-c0-dev protobuf-c-compiler protobuf-compiler python-protobuf</code> |
− | ** <code>protobuf-compiler</code>
| + | |
− | ** <code>protobuf-devel</code>
| + | ; Ubuntu packages |
− | ** <code>protobuf-python</code>
| + | : <code>libprotobuf-dev libprotobuf-c0-dev protobuf-c-compiler protobuf-compiler python-protobuf</code> |
− | * Debian package names
| |
− | ** <code>build-essential</code>
| |
− | ** <code>libprotobuf-dev</code>
| |
− | ** <code>libprotobuf-c0-dev</code>
| |
− | ** <code>protobuf-c-compiler</code>
| |
− | ** <code>protobuf-compiler</code>
| |
− | ** <code>python-protobuf</code>
| |
− | * Ubuntu
| |
− | ** The below will get your freshly installed Ubuntu host ready to compile criu. "--no-install-recommends" parameter is to avoid asciidoc pulling in a lot of dependencies.
| |
− | ** sudo apt-get install --no-install-recommends git build-essential libprotobuf-dev libprotobuf-c0-dev protobuf-c-compiler protobuf-compiler python-protobuf libnl-3-dev libpth-dev pkg-config libcap-dev asciidoc xmlto libnet-dev
| |
| | | |
| Optionally, you may [[build protobuf]] from sources. | | Optionally, you may [[build protobuf]] from sources. |