How To Install kgb-client on Debian 10

Learn how to install kgb-client on Debian 10 with this tutorial. kgb-client is client for KGB (IRC collaboration bot)

Introduction

In this tutorial we learn how to install kgb-client on Debian 10.

What is kgb-client

kgb-client is:

KGB is an IRC bot, helping people work together by notifying an IRC channel when a commit occurs.

It supports multiple repositories/IRC channels and is fully configurable.

This package contains the client-side program, kgb-client, which is supposed to be used as an hook in your version control system and sends the notifications to the KGB daemon.

Currently supported version control systems are:

  • Git
  • Subversion
  • CVS

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

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

sudo apt-get update

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

sudo apt-get -y install kgb-client

Install kgb-client Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install kgb-client

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

sudo aptitude -y install kgb-client

How To Uninstall kgb-client on Debian 10

To uninstall only the kgb-client package we can use the following command:

sudo apt-get remove kgb-client

Uninstall kgb-client And Its Dependencies

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

sudo apt-get -y autoremove kgb-client

Remove kgb-client Configurations and Data

To remove kgb-client configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge kgb-client

Remove kgb-client configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge kgb-client

Dependencies

kgb-client have the following dependencies:

References

Summary

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