How To Install netconfd-module-ietf-interfaces on Ubuntu 18.04
Introduction
In this tutorial we learn how to install netconfd-module-ietf-interfaces on Ubuntu 18.04.
What is netconfd-module-ietf-interfaces
netconfd-module-ietf-interfaces is:
The Netconf protocol and YANG modeling language provide a framework for the exchange of management information between agents (servers) and clients.
The yuma123 netconfd module ietf-interfaces implements the functionality modeled in ietf-interfaces.yang using some common command line tools.
There are three methods to install netconfd-module-ietf-interfaces on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install netconfd-module-ietf-interfaces Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install netconfd-module-ietf-interfaces using apt-get by running the following command:
sudo apt-get -y install netconfd-module-ietf-interfaces
Install netconfd-module-ietf-interfaces Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install netconfd-module-ietf-interfaces using apt by running the following command:
sudo apt -y install netconfd-module-ietf-interfaces
Install netconfd-module-ietf-interfaces 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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install netconfd-module-ietf-interfaces using aptitude by running the following command:
sudo aptitude -y install netconfd-module-ietf-interfaces
How To Uninstall netconfd-module-ietf-interfaces on Ubuntu 18.04
To uninstall only the netconfd-module-ietf-interfaces package we can use the following command:
sudo apt-get remove netconfd-module-ietf-interfaces
Uninstall netconfd-module-ietf-interfaces And Its Dependencies
To uninstall netconfd-module-ietf-interfaces and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove netconfd-module-ietf-interfaces
Remove netconfd-module-ietf-interfaces Configurations and Data
To remove netconfd-module-ietf-interfaces configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge netconfd-module-ietf-interfaces
Remove netconfd-module-ietf-interfaces configuration, data, and all of its dependencies
We can use the following command to remove netconfd-module-ietf-interfaces configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge netconfd-module-ietf-interfaces
References
Summary
In this tutorial we learn how to install netconfd-module-ietf-interfaces package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.