How To Install golang-gitlab-gitlab-org-labkit-dev on Kali Linux

In this tutorial we learn how to install golang-gitlab-gitlab-org-labkit-dev on Kali Linux. golang-gitlab-gitlab-org-labkit-dev is LabKit provides functionality for Go services at GitLab

Introduction

In this tutorial we learn how to install golang-gitlab-gitlab-org-labkit-dev on Kali Linux.

What is golang-gitlab-gitlab-org-labkit-dev

golang-gitlab-gitlab-org-labkit-dev is:

LabKit is a minimalist library to provide functionality for Go services at GitLab. This library contains following packages:

  • Correlation Package correlation provides HTTP middlewares for general purpose use cases.
  • Log Package log provides sensible logging defaults for LabKit.
  • Mask Package mask offers the functionality for non-reversible masking of sensitive data in the GitLab application.
  • Metrics Package metrics is the primary entrypoint into LabKit’s metrics utilities.
  • Monitoring Package monitoring provides a monitoring endpoint and Continuous Profiling for Go service processes.

LabKit and LabKit-Ruby are intended to provides similar functionality, but uses the semantics of their respective languages, so they are not intended to provide identical APIs.

There are three methods to install golang-gitlab-gitlab-org-labkit-dev 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 golang-gitlab-gitlab-org-labkit-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install golang-gitlab-gitlab-org-labkit-dev using apt-get by running the following command:

sudo apt-get -y install golang-gitlab-gitlab-org-labkit-dev

Install golang-gitlab-gitlab-org-labkit-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-gitlab-gitlab-org-labkit-dev using apt by running the following command:

sudo apt -y install golang-gitlab-gitlab-org-labkit-dev

Install golang-gitlab-gitlab-org-labkit-dev 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 golang-gitlab-gitlab-org-labkit-dev using aptitude by running the following command:

sudo aptitude -y install golang-gitlab-gitlab-org-labkit-dev

How To Uninstall golang-gitlab-gitlab-org-labkit-dev on Kali Linux

To uninstall only the golang-gitlab-gitlab-org-labkit-dev package we can use the following command:

sudo apt-get remove golang-gitlab-gitlab-org-labkit-dev

Uninstall golang-gitlab-gitlab-org-labkit-dev And Its Dependencies

To uninstall golang-gitlab-gitlab-org-labkit-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove golang-gitlab-gitlab-org-labkit-dev

Remove golang-gitlab-gitlab-org-labkit-dev Configurations and Data

To remove golang-gitlab-gitlab-org-labkit-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge golang-gitlab-gitlab-org-labkit-dev

Remove golang-gitlab-gitlab-org-labkit-dev configuration, data, and all of its dependencies

We can use the following command to remove golang-gitlab-gitlab-org-labkit-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge golang-gitlab-gitlab-org-labkit-dev

Dependencies

golang-gitlab-gitlab-org-labkit-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install golang-gitlab-gitlab-org-labkit-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.