How to Install and Uninstall golang-github-subosito-gotenv-dev Package on Ubuntu 21.10 (Impish Indri)
Last updated: January 11,2025
1. Install "golang-github-subosito-gotenv-dev" package
Please follow the instructions below to install golang-github-subosito-gotenv-dev on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
golang-github-subosito-gotenv-dev
Copied
2. Uninstall "golang-github-subosito-gotenv-dev" package
Please follow the step by step instructions below to uninstall golang-github-subosito-gotenv-dev on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
golang-github-subosito-gotenv-dev
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the golang-github-subosito-gotenv-dev package on Ubuntu 21.10 (Impish Indri)
Package: golang-github-subosito-gotenv-dev
Architecture: all
Version: 1.2.0+git20190917.de67a66-2
Priority: optional
Section: universe/devel
Source: golang-github-subosito-gotenv
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 38
Depends: golang-github-stretchr-testify-dev
Filename: pool/universe/g/golang-github-subosito-gotenv/golang-github-subosito-gotenv-dev_1.2.0+git20190917.de67a66-2_all.deb
Size: 7452
MD5sum: e8fc15a58fde9d22d02c6510c8de3973
SHA1: f2a986190fdba826fa082fc4976b2ced9929acdb
SHA256: 6b466a0cd4fe04bdcb3053cb4eec0e756e4d4e34f181cc93bef2597aad01bfe1
SHA512: d4ce0d2e83ac533ca41ebe2501dac8b409a4f47672c8ecdd23e0f07217a85c16bb8a091c567b44ebe4f26066a0ceb6f3e4b7d6c77bb97a845f23e71b992983f3
Homepage: https://github.com/subosito/gotenv
Description-en: 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: 25a8f96a5ce152c03bd9d223947a3415
Architecture: all
Version: 1.2.0+git20190917.de67a66-2
Priority: optional
Section: universe/devel
Source: golang-github-subosito-gotenv
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 38
Depends: golang-github-stretchr-testify-dev
Filename: pool/universe/g/golang-github-subosito-gotenv/golang-github-subosito-gotenv-dev_1.2.0+git20190917.de67a66-2_all.deb
Size: 7452
MD5sum: e8fc15a58fde9d22d02c6510c8de3973
SHA1: f2a986190fdba826fa082fc4976b2ced9929acdb
SHA256: 6b466a0cd4fe04bdcb3053cb4eec0e756e4d4e34f181cc93bef2597aad01bfe1
SHA512: d4ce0d2e83ac533ca41ebe2501dac8b409a4f47672c8ecdd23e0f07217a85c16bb8a091c567b44ebe4f26066a0ceb6f3e4b7d6c77bb97a845f23e71b992983f3
Homepage: https://github.com/subosito/gotenv
Description-en: 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: 25a8f96a5ce152c03bd9d223947a3415