How To Install golang-golang-x-exp-dev on Kali Linux

In this tutorial we learn how to install golang-golang-x-exp-dev on Kali Linux. golang-golang-x-exp-dev is experimental and deprecated packages

Introduction

In this tutorial we learn how to install golang-golang-x-exp-dev on Kali Linux.

What is golang-golang-x-exp-dev

golang-golang-x-exp-dev is:

This subrepository holds experimental and deprecated (in the “old” directory) packages.

The idea for this subrepository originated as the “pkg/exp” directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to “go get” these packages.

Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.

In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)

Caveat emptor.

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

sudo apt-get -y install golang-golang-x-exp-dev

Install golang-golang-x-exp-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-golang-x-exp-dev using apt by running the following command:

sudo apt -y install golang-golang-x-exp-dev

Install golang-golang-x-exp-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-golang-x-exp-dev using aptitude by running the following command:

sudo aptitude -y install golang-golang-x-exp-dev

How To Uninstall golang-golang-x-exp-dev on Kali Linux

To uninstall only the golang-golang-x-exp-dev package we can use the following command:

sudo apt-get remove golang-golang-x-exp-dev

Uninstall golang-golang-x-exp-dev And Its Dependencies

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

sudo apt-get -y autoremove golang-golang-x-exp-dev

Remove golang-golang-x-exp-dev Configurations and Data

To remove golang-golang-x-exp-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge golang-golang-x-exp-dev

Remove golang-golang-x-exp-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge golang-golang-x-exp-dev

Dependencies

golang-golang-x-exp-dev have the following dependencies:

References

Summary

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