How To Install cme on Debian 10

Learn how to install cme on Debian 10 with this tutorial. cme is Check or edit configuration data with Config

Introduction

In this tutorial we learn how to install cme on Debian 10.

What is cme

cme is:

cme provides a command to check or edit configuration data with Config::Model.

cme and Config::Model are quite modular: the configuration data that you can edit depend on installed packages. I.e.:

  • ssh client or ssh daemon config: libconfig-model-openssh-perl
  • approx config: libconfig-model-approx-perl
  • lcdproc config: libconfig-model-lcdproc-perl
  • popcon config: provided with libconfig-model-perl
  • systemd config: provided with libconfig-model-systemd-perl

Some applications can be handled by cme:

  • Debian package files: libconfig-model-dpkg-perl
  • multistrap files: provided with libconfig-model-perl

You can also choose a user interface:

  • graphical, based on Tk: libconfig-model-tkui-perl
  • curses based: libconfig-model-cursesui-perl
  • simple shell: provided with libconfig-model-perl

Last but not least, you can also take a stab at maintaining configuration model with libconfig-model-itself-perl.

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

Install cme Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install cme

Install cme Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cme using apt by running the following command:

sudo apt -y install cme

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

sudo aptitude -y install cme

How To Uninstall cme on Debian 10

To uninstall only the cme package we can use the following command:

sudo apt-get remove cme

Uninstall cme And Its Dependencies

To uninstall cme and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove cme

Remove cme Configurations and Data

To remove cme configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge cme

Remove cme configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cme

Dependencies

cme have the following dependencies:

References

Summary

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