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
To improve is to change, to be perfect is to change often.