How to Install and Uninstall golang-github-subosito-gotenv-dev Package on Kali Linux

Last updated: May 12,2024

1. Install "golang-github-subosito-gotenv-dev" package

Please follow the guidance below to install golang-github-subosito-gotenv-dev on Kali Linux

$ sudo apt update $ sudo apt install golang-github-subosito-gotenv-dev

2. Uninstall "golang-github-subosito-gotenv-dev" package

This guide covers the steps necessary to uninstall golang-github-subosito-gotenv-dev on Kali Linux:

$ sudo apt remove golang-github-subosito-gotenv-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-subosito-gotenv-dev package on Kali Linux

Package: golang-github-subosito-gotenv-dev
Source: golang-github-subosito-gotenv
Version: 1.3.0-1
Installed-Size: 44
Maintainer: Debian Go Packaging Team
Architecture: all
Size: 9340
SHA256: 3287647a169abfb38da13c696517e2f689d1b11f9d147911471ad6b673088727
SHA1: 76d240c5ec3db0b449f5f5f492054a2e3ea1d356
MD5sum: e9fb892aa26281a1dbe4b7194258ed21
Description: Load environment variables from `.env` or `io.Reader` in Go.
To modify your app environment variables, gotenv expose 2 main functions:
* gotenv.Load
* gotenv.Apply
By default, gotenv.Load will look for a file called .env in the current
working directory.
.
Behind the scene, it will then load .env file and export the valid
variables to the environment variables. Make sure you call the method
as soon as possible to ensure it loads all variables, say, put it on
init() function.
.
Once loaded you can use os.Getenv() to get the value of the variable.
Description-md5:
Multi-Arch: foreign
Homepage: https://github.com/subosito/gotenv
Section: golang
Priority: optional
Filename: pool/main/g/golang-github-subosito-gotenv/golang-github-subosito-gotenv-dev_1.3.0-1_all.deb