How To Install golang-github-rogpeppe-go-internal-dev on Kali Linux
Introduction
In this tutorial we learn how to install golang-github-rogpeppe-go-internal-dev
on Kali Linux.
What is golang-github-rogpeppe-go-internal-dev
golang-github-rogpeppe-go-internal-dev is:
The go-internal repository factors out an opinionated selection of internal packages and functionality from the Go standard library. Currently this consists mostly of packages and testing code from within the Go tool implementation.
Included are the following:
- dirhash: calculate hashes over directory trees the same way that the Go tool does.
- goproxytest: a GOPROXY implementation designed for test use.
- gotooltest: Use the Go tool inside test scripts (see testscript below).
- imports: list of known architectures and OSs, and support for reading import statements.
- modfile: read and write go.mod files while preserving formatting and comments.
- module: module paths and versions.
- par: do work in parallel.
- semver: semantic version parsing.
- testenv: information on the current testing environment.
- testscript: script-based testing based on txtar files.
- txtar: simple text-based file archives for testing.
This package contains the development library files.
There are three methods to install golang-github-rogpeppe-go-internal-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-rogpeppe-go-internal-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-rogpeppe-go-internal-dev
using apt-get
by running the following command:
sudo apt-get -y install golang-github-rogpeppe-go-internal-dev
Install golang-github-rogpeppe-go-internal-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install golang-github-rogpeppe-go-internal-dev
using apt
by running the following command:
sudo apt -y install golang-github-rogpeppe-go-internal-dev
Install golang-github-rogpeppe-go-internal-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-rogpeppe-go-internal-dev
using aptitude
by running the following command:
sudo aptitude -y install golang-github-rogpeppe-go-internal-dev
How To Uninstall golang-github-rogpeppe-go-internal-dev on Kali Linux
To uninstall only the golang-github-rogpeppe-go-internal-dev
package we can use the following command:
sudo apt-get remove golang-github-rogpeppe-go-internal-dev
Uninstall golang-github-rogpeppe-go-internal-dev And Its Dependencies
To uninstall golang-github-rogpeppe-go-internal-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-rogpeppe-go-internal-dev
Remove golang-github-rogpeppe-go-internal-dev Configurations and Data
To remove golang-github-rogpeppe-go-internal-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge golang-github-rogpeppe-go-internal-dev
Remove golang-github-rogpeppe-go-internal-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-rogpeppe-go-internal-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-rogpeppe-go-internal-dev
Dependencies
golang-github-rogpeppe-go-internal-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install golang-github-rogpeppe-go-internal-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.