How to Install and Uninstall ondir Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 15,2024

1. Install "ondir" package

This guide let you learn how to install ondir on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ondir

2. Uninstall "ondir" package

In this section, we are going to explain the necessary steps to uninstall ondir on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove ondir $ sudo apt autoclean && sudo apt autoremove

3. Information about the ondir package on Ubuntu 21.10 (Impish Indri)

Package: ondir
Architecture: amd64
Version: 0.2.3+git0.55279f03-1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christian Seiler
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 42
Depends: libc6 (>= 2.14)
Filename: pool/universe/o/ondir/ondir_0.2.3+git0.55279f03-1_amd64.deb
Size: 12232
MD5sum: ac195180cdeddf3574fa0a59941a3021
SHA1: a685a9f1d68b3fb44a0b1ed3597c0075999a01c6
SHA256: 86e27a0238df42121e88fe23de07ff286a33c84a4ca3076959cf7d7c2dee7d07
SHA512: 19f800f2503e00a65721cf59a7193f1333a641f0019279a4816b2bbc437857958c94ff57024e8a0f26e0479d021d2c1e21fef103175d2d940fc6cee8d4304ec9
Homepage: http://swapoff.org/ondir.html
Description-en: Automate tasks specific to certain directories in the shell
ondir is a small program to automate tasks specific to certain
directories. It works by executing scripts in directories when you
enter and leave them. It may be used to set environment variables or
change the umask depending on the current working directory.
.
This program is similar to the direnv package. In contrast to direnv,
which expects the per-directory settings to be stored in the directory
itself, ondir uses a central configuration file in the user's home
directory, and can match directories based on patterns.
.
ondir supports bash, zsh and fish out of the box.
Description-md5: c44736d3d1db1af49364e423866e2ba3