How To Install libconfig-zomg-perl on Ubuntu 18.04

In this tutorial we learn how to install libconfig-zomg-perl on Ubuntu 18.04. libconfig-zomg-perl is yet another Catalyst

Introduction

In this tutorial we learn how to install libconfig-zomg-perl on Ubuntu 18.04.

What is libconfig-zomg-perl

libconfig-zomg-perl is:

Config::ZOMG is a fork of Config::JFDI. It removes a couple of unusual features and passes the same tests three times faster than Config::JFDI.

Config::ZOMG is an implementation of Catalyst::Plugin::ConfigLoader that exists outside of Catalyst.

Config::ZOMG will scan a directory for files matching a certain name. If such a file is found which also matches an extension that Config::Any can read, then the configuration from that file will be loaded.

Config::ZOMG will also look for special files that end with a “_local” suffix. Files with this special suffix will take precedence over any other existing configuration file, if any. The precedence takes place by merging the local configuration with the “standard” configuration via Hash::Merge::Simple.

Finally you can override/modify the path search from outside your application, by setting the “_CONFIG” variable outside your application (where $NAME is the uppercase version of what you passed to Config::ZOMG->new).

There are three methods to install libconfig-zomg-perl 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 libconfig-zomg-perl Using apt-get

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

sudo apt-get update

After updating apt database, We can install libconfig-zomg-perl using apt-get by running the following command:

sudo apt-get -y install libconfig-zomg-perl

Install libconfig-zomg-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libconfig-zomg-perl using apt by running the following command:

sudo apt -y install libconfig-zomg-perl

Install libconfig-zomg-perl 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 libconfig-zomg-perl using aptitude by running the following command:

sudo aptitude -y install libconfig-zomg-perl

How To Uninstall libconfig-zomg-perl on Ubuntu 18.04

To uninstall only the libconfig-zomg-perl package we can use the following command:

sudo apt-get remove libconfig-zomg-perl

Uninstall libconfig-zomg-perl And Its Dependencies

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

sudo apt-get -y autoremove libconfig-zomg-perl

Remove libconfig-zomg-perl Configurations and Data

To remove libconfig-zomg-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libconfig-zomg-perl

Remove libconfig-zomg-perl configuration, data, and all of its dependencies

We can use the following command to remove libconfig-zomg-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libconfig-zomg-perl

References

Summary

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