How To Install conky-cli on Kali Linux

In this tutorial we learn how to install conky-cli on Kali Linux. conky-cli is highly configurable system monitor (basic version)

Introduction

In this tutorial we learn how to install conky-cli on Kali Linux.

What is conky-cli

conky-cli is:

Conky is a system monitor that can display just about anything, either on your root desktop or in its own window. Conky has many built-in objects, as well as the ability to execute external programs or scripts (either external or through built-in Lua support).

This is a basic package that can be useful in servers or piped with dzen2. It includes the following support:

MPD, MOC, math, apcupsd, ncurses and I/O stats.

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

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

sudo apt-get update

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

sudo apt-get -y install conky-cli

Install conky-cli Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install conky-cli

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

sudo aptitude -y install conky-cli

How To Uninstall conky-cli on Kali Linux

To uninstall only the conky-cli package we can use the following command:

sudo apt-get remove conky-cli

Uninstall conky-cli And Its Dependencies

To uninstall conky-cli and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove conky-cli

Remove conky-cli Configurations and Data

To remove conky-cli configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge conky-cli

Remove conky-cli configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge conky-cli

Dependencies

conky-cli have the following dependencies:

References

Summary

In this tutorial we learn how to install conky-cli package on Kali Linux using different package management tools: apt, apt-get and aptitude.