How to Install and Uninstall direnv Package on openSUSE Leap

Last updated: December 25,2024

1. Install "direnv" package

Please follow the step by step instructions below to install direnv on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install direnv

2. Uninstall "direnv" package

Please follow the steps below to uninstall direnv on openSUSE Leap:

$ sudo zypper remove direnv

3. Information about the direnv package on openSUSE Leap

Information for package direnv:
-------------------------------
Repository : Main Repository
Name : direnv
Version : 2.32.2-bp155.1.8
Arch : x86_64
Vendor : openSUSE
Installed Size : 6.9 MiB
Installed : No
Status : not installed
Source package : direnv-2.32.2-bp155.1.8.src
Upstream URL : https://direnv.net/
Summary : Environment switcher for shells
Description :
direnv knows how to hook into bash, zsh, tcsh and fish shell to load
or unload environment variables depending on the current directory.
This allows to have project-specific environment variables and not
clutter the "~/.profile" file.