LRhub ships with a self-contained Bash installer (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/kaladoodotlua/LRhub/llms.txt
Use this file to discover all available pages before exploring further.
install.sh) that handles everything: cloning the repository, placing files in the correct system directories, creating the lrhub shell wrapper, and cleaning up temporary files. The entire process takes under a minute on most systems.
Prerequisites
The installer checks for two dependencies before proceeding. Both must be present on your system.| Dependency | Purpose |
|---|---|
git | Used by the installer to clone the LRhub repository |
lua | Runtime for hub.lua and the createfile.lua tool |
The exact Lua package name may vary by distro (e.g.,
lua5.4, lua5.3, lua). LRhub is compatible with Lua 5.x. Run lua -v after installation to confirm.Installation Steps
Verify prerequisites
Confirm that both
git and lua are available before running the installer. The script will exit with an error if either is missing.Run the one-line installer
Paste and run the following command in your terminal. The installer will print progress as it runs:The green “LRhub installed successfully!” message confirms that all files are in place.
sudo is required because the installer writes to /usr/local/ and /usr/bin/.Confirm the install succeeded
After the installer exits, verify the wrapper script exists and is executable:
Launch LRhub
Run LRhub from any directory to confirm everything is working:You should see the ASCII logo, the version (
v1.3.1), and the interactive menu. See the Quickstart guide for a walkthrough of the menu.What the Installer Does
Understanding the install process helps if you ever need to troubleshoot or manually update LRhub.- Checks for
gitandlua— exits immediately if either is missing. - Removes any existing install — if
/usr/local/LRhubalready exists, it is deleted before cloning to ensure a clean install. - Clones the repository to
/usr/local/LRhubviagit clone. - Creates the wrapper script at
/usr/bin/lrhub:This script changes into the install directory before invoking Lua, so that relative tool paths insidehub.luaresolve correctly. - Moves
hub.luaandtools/from the versioned subdirectory (LRhub-v1.3.1/) up to/usr/local/LRhub/. - Cleans up — removes the
LRhub-v1.3.1/subdirectory, theprev/directory,.git/,README.md, andinstall.shitself, leaving only what’s needed to run.
Uninstallation
LRhub does not include an uninstall script. To remove it completely, delete the install directory and the wrapper script manually:lrhub command will no longer be available on your system.