How To Install libyuma-base on Ubuntu 18.04

In this tutorial we learn how to install libyuma-base on Ubuntu 18.04. libyuma-base is Netconf configuration script, YANG models and documentation

Introduction

In this tutorial we learn how to install libyuma-base on Ubuntu 18.04.

What is libyuma-base

libyuma-base is:

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

This package includes netconf-config scripts, documentation and YANG models for the netconf an YANG libraries, agents and applications. YANG models contain a formal description of the data that can be managed using netconf and applications.

There are three methods to install libyuma-base 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 libyuma-base Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libyuma-base

Install libyuma-base Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libyuma-base

Install libyuma-base 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 libyuma-base using aptitude by running the following command:

sudo aptitude -y install libyuma-base

How To Uninstall libyuma-base on Ubuntu 18.04

To uninstall only the libyuma-base package we can use the following command:

sudo apt-get remove libyuma-base

Uninstall libyuma-base And Its Dependencies

To uninstall libyuma-base and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libyuma-base

Remove libyuma-base Configurations and Data

To remove libyuma-base configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libyuma-base

Remove libyuma-base configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libyuma-base

References

Summary

In this tutorial we learn how to install libyuma-base package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.