netopeer, netopeer-cli installation and configuration

# Install required software

apt-get update

apt-get install -y git libxml2 libxml2-dev libxslt-dev libssh2-1-dev libcurl4-gnutls-dev libdbus-1-dev doxygen libevent-dev libreadline-dev libncurses-dev libxml++2.6-dev libtool python-libxml2 openssh-server xsltproc cmake build-essential libssl-dev libtool-bin wget python-setuptools vim

apt-get clean

apt-get purge

 # Install libssh >= 0.6.4


tar xvfz libssh-0.6.4.tar.gz

rm -rf libssh-0.6.4.tar.gz

cd libssh-0.6.4/build


make && make install

 # Install pyang

 # Install libnetconf and lnctool


[libnetconf] # cp dev-tools/lnctool/lnctool /usr/local/bin/

 # Install netopeer (cli)

git clone

cd netopeer/server/

./configure –disable-dbus

make && make install

cd ../cli


make && make install


=============     Run netopeer-cli      ===================

Start :


connect –login <username> <ip>

If you face library not found error while starting netopeer-cli [this maybe due to path mismatch, some libraries and installed in /usr/local/lib and some are in /usr/lib]

As a workaround create soft links for those libraries

[check versions properly]

ln -s /usr/local/lib/ /usr/lib/

ln -s /usr/local/lib/ /usr/lib/

ln -s /usr/local/lib/ /usr/lib/

start netopeer-cli again



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s