How to Install and Uninstall direnv Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 15,2024

1. Install "direnv" package

Please follow the steps below to install direnv on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install direnv

2. Uninstall "direnv" package

Please follow the guidelines below to uninstall direnv on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove direnv $ sudo apt autoclean && sudo apt autoremove

3. Information about the direnv package on Ubuntu 20.10 (Groovy Gorilla)

Package: direnv
Architecture: amd64
Version: 2.21.3-1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Punit Agrawal
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3627
Filename: pool/universe/d/direnv/direnv_2.21.3-1_amd64.deb
Size: 1182804
MD5sum: 2b16e2223449483772385091303a174d
SHA1: 9eb9575aa459d9db38bf3e47ed584e9067219826
SHA256: 53ed4b6f2f21cbe176e9b5ddc4c91cf4f8df2c8b309cb48ce802ad4401374d96
SHA512: eb691ed0f29600436db1db1fa9ccfa18e854228c4356c7e4771216d0564da4a3488591fe19d97de6f137d89c94b3df4af142175c53f5a85c0b969b958023dde0
Homepage: http://direnv.net/
Description-en: Utility to set directory specific environment variables
direnv is an environment variable manager for your shell. It knows
how to hook into bash, zsh and fish shell to load or unload
environment variables depending on your current directory. This
allows one to have project-specific environment variables and not
clutter the "~/.profile" file.
.
Before each prompt it checks for the existence of an ".envrc" file in
the current and parent directories. If the file exists, it is loaded
into a bash sub-shell and all exported variables are then captured by
direnv and then made available to your shell.
.
Because direnv is compiled into a single static executable it is fast
enough to be unnoticeable on each prompt. It is also language
agnostic and can be used to build solutions similar to rbenv, pyenv,
phpenv, ...
Description-md5: eb622bfa54c9d46458c730287447bda5