安裝依賴:git
sudo apt-get install cmake libpcre3-dev libavl-dev libev-dev # install protobuf-c sudo apt-get install protobuf-compiler libprotobuf-dev libprotoc-dev git clone https://github.com/protobuf-c/protobuf-c cd protobuf-c ./autogen.sh ./configure make sudo make install
安裝 sysrepo:github
git clone https://github.com/sysrepo/sysrepo.git cd sysrepo git checkout v0.7.5 mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=Off -DCALL_TARGET_BINS_DIRECTLY=Off .. make [sudo] make install
2018.11ubuntu