How To Install libyangrpc-dev on Debian 12

Learn how to install libyangrpc-dev on Debian 12 with this tutorial. libyangrpc-dev is NETCONF/YANG simple client applications development files

Introduction

In this tutorial we learn how to install libyangrpc-dev on Debian 12.

What is libyangrpc-dev

libyangrpc-dev is:

The NETCONF protocol and YANG modeling language provide a framework for the exchange of management information between agents (servers) and clients.

The yuma123 libyangrpc development files include the library headers, static libraries, and documentation needed for development of custom NETCONF/YANG applications.

There are three methods to install libyangrpc-dev on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libyangrpc-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libyangrpc-dev using apt-get by running the following command:

sudo apt-get -y install libyangrpc-dev

Install libyangrpc-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libyangrpc-dev using apt by running the following command:

sudo apt -y install libyangrpc-dev

Install libyangrpc-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libyangrpc-dev using aptitude by running the following command:

sudo aptitude -y install libyangrpc-dev

How To Uninstall libyangrpc-dev on Debian 12

To uninstall only the libyangrpc-dev package we can use the following command:

sudo apt-get remove libyangrpc-dev

Uninstall libyangrpc-dev And Its Dependencies

To uninstall libyangrpc-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libyangrpc-dev

Remove libyangrpc-dev Configurations and Data

To remove libyangrpc-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libyangrpc-dev

Remove libyangrpc-dev configuration, data, and all of its dependencies

We can use the following command to remove libyangrpc-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libyangrpc-dev

Dependencies

libyangrpc-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libyangrpc-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.