Skip to content

Instantly share code, notes, and snippets.

@Goon3r
Last active April 2, 2023 15:50
Show Gist options
  • Save Goon3r/2b9c56731f6f65c3e4e504f73631bf5c to your computer and use it in GitHub Desktop.
Save Goon3r/2b9c56731f6f65c3e4e504f73631bf5c to your computer and use it in GitHub Desktop.
Installs inotifytools without the need to go through package managers thus removing the need for root access. Useful for shared seeboxes.
# Download inotifytools
# - Version, url's, directory names could change, use your brain.
$ wget https://github.com/inotify-tools/inotify-tools/releases/download/3.20.2.2/inotify-tools-3.20.2.2.tar.gz
$ tar -xvf inotify-tools-3.20.2.2.tar.gz
$ cd inotify-tools-3.20.2.2
# Install inotifytools
# - Configure it to use directories under non root user home dir
# - Imporant, absolute paths required for configure commands
$ ./configure --prefix=/home/user/.local --libdir=/home/user/.local/lib
$ make
$ make install
# Add executable binaries to path
# - Recommended to this inside relevant .profile .bashrc file etc etc
# - Binary path changes based on configured prefix/libdir again, use your brain
PATH="~/.local/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment