How To Install golang-gonum-v1-plot-dev on Kali Linux

In this tutorial we learn how to install golang-gonum-v1-plot-dev on Kali Linux. golang-gonum-v1-plot-dev is repository for plotting and visualizing data (library)

Introduction

In this tutorial we learn how to install golang-gonum-v1-plot-dev on Kali Linux.

What is golang-gonum-v1-plot-dev

golang-gonum-v1-plot-dev is:

gonum/plot is the new, official fork of code.google.com/p/plotinum. It provides an API for building and drawing plots in Go. Note that this new API is still in flux and may change. See the wiki for some example plots.

gonum/plot is split into a few packages:

  • The plot package provides simple interface for laying out a plot and provides primitives for drawing to it.
  • The plotter package provides a standard set of Plotters which use the primitives provided by the plot package for drawing lines, scatter plots, box plots, error bars, etc. to a plot. You do not need to use the plotter package to make use of gonum/plot, however: see the wiki for a tutorial on making your own custom plotters.
  • The plotutil package contains a few routines that allow some common plot types to be made very easily. This package is quite new so it is not as well tested as the others and it is bound to change.
  • The vg package provides a generic vector graphics API that sits on top of other vector graphics back-ends such as a custom EPS back-end, draw2d, SVGo, X-Window and gopdf.

There are three methods to install golang-gonum-v1-plot-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-gonum-v1-plot-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-gonum-v1-plot-dev using apt-get by running the following command:

sudo apt-get -y install golang-gonum-v1-plot-dev

Install golang-gonum-v1-plot-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-gonum-v1-plot-dev using apt by running the following command:

sudo apt -y install golang-gonum-v1-plot-dev

Install golang-gonum-v1-plot-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-gonum-v1-plot-dev using aptitude by running the following command:

sudo aptitude -y install golang-gonum-v1-plot-dev

How To Uninstall golang-gonum-v1-plot-dev on Kali Linux

To uninstall only the golang-gonum-v1-plot-dev package we can use the following command:

sudo apt-get remove golang-gonum-v1-plot-dev

Uninstall golang-gonum-v1-plot-dev And Its Dependencies

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

sudo apt-get -y autoremove golang-gonum-v1-plot-dev

Remove golang-gonum-v1-plot-dev Configurations and Data

To remove golang-gonum-v1-plot-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge golang-gonum-v1-plot-dev

Remove golang-gonum-v1-plot-dev configuration, data, and all of its dependencies

We can use the following command to remove golang-gonum-v1-plot-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge golang-gonum-v1-plot-dev

Dependencies

golang-gonum-v1-plot-dev have the following dependencies:

References

Summary

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