How to Install and Uninstall direnv Package on Kali Linux

Last updated: May 18,2024

1. Install "direnv" package

This guide covers the steps necessary to install direnv on Kali Linux

$ sudo apt update $ sudo apt install direnv

2. Uninstall "direnv" package

Learn how to uninstall direnv on Kali Linux:

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

3. Information about the direnv package on Kali Linux

Package: direnv
Source: direnv (2.32.1-2)
Version: 2.32.1-2+b7
Installed-Size: 6832
Maintainer: Punit Agrawal
Architecture: amd64
Depends: libc6 (>= 2.34)
Size: 2333896
SHA256: 6770e34dbb01e539fb2bb0ea8c3e1ff3a6486bad5a0beda4a5ed9fc325e6d5fb
SHA1: 438d55a5b4ea93c50381b8f17df58c067105ae32
MD5sum: b161730e041c9b48dab3f32e7a010e17
Description: 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:
Homepage: http://direnv.net/
Built-Using: golang-1.21 (= 1.21.3-1), golang-github-mattn-go-isatty (= 0.0.19-1), golang-golang-x-mod (= 0.12.0-1), golang-golang-x-sys (= 0.12.0-1), golang-toml (= 1.2.1-1)
Section: utils
Priority: optional
Filename: pool/main/d/direnv/direnv_2.32.1-2+b7_amd64.deb