How To Install golang-github-apparentlymart-go-cidr-dev on Kali Linux

In this tutorial we learn how to install golang-github-apparentlymart-go-cidr-dev on Kali Linux. golang-github-apparentlymart-go-cidr-dev is manipulations of CIDR netmasks and their associated addresses

Introduction

In this tutorial we learn how to install golang-github-apparentlymart-go-cidr-dev on Kali Linux.

What is golang-github-apparentlymart-go-cidr-dev

golang-github-apparentlymart-go-cidr-dev is:

This Go package is a collection of assorted utilities for computing network and host addresses within network ranges.

It expects a CIDR-type address structure where addresses are divided into some number of prefix bits representing the network and then the remaining suffix bits represent the host.

For example, it can help to calculate addresses for sub-networks of a parent network, or to calculate host addresses within a particular prefix.

At present this package is prioritizing simplicity of implementation and de-prioritizing speed and memory usage. Thus caution is advised before using this package in performance-critical applications or hot codepaths. Patches to improve the speed and memory usage may be accepted as long as they do not result in a significant increase in code complexity.

There are three methods to install golang-github-apparentlymart-go-cidr-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-github-apparentlymart-go-cidr-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-github-apparentlymart-go-cidr-dev using apt-get by running the following command:

sudo apt-get -y install golang-github-apparentlymart-go-cidr-dev

Install golang-github-apparentlymart-go-cidr-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-github-apparentlymart-go-cidr-dev using apt by running the following command:

sudo apt -y install golang-github-apparentlymart-go-cidr-dev

Install golang-github-apparentlymart-go-cidr-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-github-apparentlymart-go-cidr-dev using aptitude by running the following command:

sudo aptitude -y install golang-github-apparentlymart-go-cidr-dev

How To Uninstall golang-github-apparentlymart-go-cidr-dev on Kali Linux

To uninstall only the golang-github-apparentlymart-go-cidr-dev package we can use the following command:

sudo apt-get remove golang-github-apparentlymart-go-cidr-dev

Uninstall golang-github-apparentlymart-go-cidr-dev And Its Dependencies

To uninstall golang-github-apparentlymart-go-cidr-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove golang-github-apparentlymart-go-cidr-dev

Remove golang-github-apparentlymart-go-cidr-dev Configurations and Data

To remove golang-github-apparentlymart-go-cidr-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge golang-github-apparentlymart-go-cidr-dev

Remove golang-github-apparentlymart-go-cidr-dev configuration, data, and all of its dependencies

We can use the following command to remove golang-github-apparentlymart-go-cidr-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge golang-github-apparentlymart-go-cidr-dev

Dependencies

golang-github-apparentlymart-go-cidr-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install golang-github-apparentlymart-go-cidr-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.