How To Install libvarconf-dev on Ubuntu 20.04

In this tutorial we learn how to install libvarconf-dev on Ubuntu 20.04. libvarconf-dev is WorldForge configuration file handling library - development files

Introduction

In this tutorial we learn how to install libvarconf-dev on Ubuntu 20.04.

What is libvarconf-dev

libvarconf-dev is:

Varconf is a configuration system designed for the STAGE server. Varconf can parse configuration files, command-line arguments and environment variables. It supports callbacks and can store its configuration information in separate Config objects or in one global configuration instance.

This package contains the development files for compiling applications and libraries depending on varconf.

There are three methods to install libvarconf-dev on Ubuntu 20.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 libvarconf-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 libvarconf-dev using apt-get by running the following command:

sudo apt-get -y install libvarconf-dev

Install libvarconf-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvarconf-dev

Install libvarconf-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libvarconf-dev

How To Uninstall libvarconf-dev on Ubuntu 20.04

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

sudo apt-get remove libvarconf-dev

Uninstall libvarconf-dev And Its Dependencies

To uninstall libvarconf-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libvarconf-dev

Remove libvarconf-dev Configurations and Data

To remove libvarconf-dev configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libvarconf-dev

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

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

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

References

Summary

In this tutorial we learn how to install libvarconf-dev package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.