sysrepoctl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sysrepoctl: command not found
or when using sudo you get the following error message
sudo: sysrepoctl: command not found
Solutions to sysrepoctl: command not found
How To Fix sysrepoctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sysrepoctl is provided by sysrepo package.
sysrepo is:
Applications can use sysrepo to store their configuration modeled by provided YANG model instead of using e.g. flat configuration files. Sysrepo will ensure data consistency of the data stored in the datastore and enforce data constraints defined by YANG model.
Sysrepo can be easily integrated with management agents such as NETCONF or RESTCONF servers, using the same client library API that applications use to access their configuration.
This package contains the tools to work with schemas and configuration.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sysrepo
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sysrepo.
sudo apt -y install sysrepo
Or if you have aptitude installed you can use the following command.
sudo aptitude install sysrepo
Summary
In this tutorial we learn how to fix sysrepoctl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.