sudo apt install flex bison git make gcc libnghttp2-dev libssl-dev
$ git clone https://github.com/clicon/cligen.git
$ git clone https://github.com/clicon/clixon.git
$ git clone https://github.com/clicon/clixon-controller.git
$ git clone https://github.com/clicon/clixon-pyapi.git
Cligen:
cd cligen
./configure
make
sudo make install
Clixon:
# Add a new clicon user
sudo useradd -g clicon -m clicon
cd clixon
./configure
make
sudo make install
Clixon controller
cd clixon-controller
./configure
make
sudo make install
Clixon Python API
# Build and install the package
cd clixon-pyapi
./install.sh
# Copy clixon-controller.service
cp clixon-controller.service /etc/systemd/network/
# Enable and start the service
systemctl daemon-reload
systemctl enable clixon_controller
systemctl start clixon_controller