1. 程式人生 > >Ubuntu 14.04 安裝 sysrepo v0.7.5

Ubuntu 14.04 安裝 sysrepo v0.7.5

參考:

Ubuntu 14.04 安裝 sysrepo v0.7.5

安裝依賴:

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:

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.11