由于yum源中的criu版本是1.6.1 ,而最新版已经是2.x了,所以,学习一下编译安装
编译很简单,主要是依赖: https://criu.org/Installation#Dependencies
- protobuf-c-compiler
libnet-devel
protobuf-python
protobuf-devel
- protobuf-c-devel
- libcap-devel
- libnl3-devel
- libaio-devel
yum 安装:
1 |
yum install protobuf protobuf-c protobuf-c-devel protobuf-compiler protobuf-devel protobuf-python libnl3-devel libcap-devel libaio-devel |
使用过程中,可能用到的python类库:
1 2 3 4 5 |
pip install --upgrade pip pip install pyyaml pip install ipaddr |