How To Install cme on Kali Linux

In this tutorial we learn how to install cme on Kali Linux. cme is Check or edit configuration data with Config

Introduction

In this tutorial we learn how to install cme on Kali Linux.

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 Kali Linux. 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 on Kali Linux first since aptitude is usually not installed by default on Kali Linux. 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 Kali Linux

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 Kali Linux, we can use the command below:

sudo apt-get -y autoremove cme

Remove cme Configurations and Data

To remove cme configuration and data from Kali Linux 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 Kali Linux using different package management tools: apt, apt-get and aptitude.