How to Install and Uninstall direnv Package on Debian 12 (Bookworm)

Last updated: January 22,2025

1. Install "direnv" package

This is a short guide on how to install direnv on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install direnv

2. Uninstall "direnv" package

This guide covers the steps necessary to uninstall direnv on Debian 12 (Bookworm):

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

3. Information about the direnv package on Debian 12 (Bookworm)

Package: direnv
Source: direnv (2.32.1-2)
Version: 2.32.1-2+b4
Installed-Size: 6549
Maintainer: Punit Agrawal
Architecture: amd64
Depends: libc6 (>= 2.34)
Description: Utility to set directory specific environment variables
Description-md5: eb622bfa54c9d46458c730287447bda5
Homepage: http://direnv.net/
Built-Using: golang-1.19 (= 1.19.8-2), golang-github-mattn-go-isatty (= 0.0.17-1), golang-golang-x-mod (= 0.7.0-1), golang-golang-x-sys (= 0.3.0-1), golang-toml (= 1.2.0-2)
Section: utils
Priority: optional
Filename: pool/main/d/direnv/direnv_2.32.1-2+b4_amd64.deb
Size: 2233372
MD5sum: bc9773cf2d1d8bfdc4be7f5282cc8100
SHA256: 9b46634d3591a4347e6c6e3ec741619c3d7c4538dfc2a02ca31e7182e2a02798