Skip to content

Lazy Linux Tool Installer v5.1.0

Latest

Choose a tag to compare

@StewAlexander-com StewAlexander-com released this 19 Aug 23:05

Summary

Two tools could never be installed by this script. Both install now, and a new test makes sure the rest still can.

Fixed

  • neoss now installs via npm. It was declared an eget tool, but the project moved to TypeScript and has never attached an asset to any of its ten releases, so eget failed with no candidates found.
  • eg now installs via pip. It was also declared an eget tool, despite the project cutting no GitHub releases at all, so eget failed with a 404.
  • eget itself had no install instructions in the README, and every documented call extracted binaries into the current directory instead of PATH. It is now installed checksum-verified, and every call uses sudo eget --to /usr/local/bin.
  • tldr is not in Debian stable, so the one-line apt install in the README failed there. tealdeer provides the tldr command and is in both Debian and Ubuntu.

Added

  • npm install method. It apt-installs npm first, so a clean Debian box does not stop at npm: not found.
  • An opt-in test that checks eget tools against upstream. The mocked tests prove the installer calls eget correctly; they cannot prove eget finds anything at the far end, which is exactly how this shipped. The new test asks GitHub whether every eget tool still publishes a Linux binary, ignoring manifests, checksums and distro packages eget will not unpack. It refuses to run when the API budget cannot cover the whole sweep, rather than passing on a partial one.
  • An MIT LICENSE, which the repository had been missing.
  • Test suite is now 53 tests, up from 46.

README

Rebuilt around someone arriving from a search engine with no Linux background: a "Start here" set of seven tools, an install command for every group, and the command names Debian actually gives you once a package is installed.

Install

curl -O https://raw.githubusercontent.com/StewAlexander-com/Linux-Tools/v5.1.0/Lazy-Linux-Tool-Installer.py
chmod +x Lazy-Linux-Tool-Installer.py

python3 Lazy-Linux-Tool-Installer.py --dry-run   # preview, changes nothing
python3 Lazy-Linux-Tool-Installer.py             # go

Upgrading from v5.0.1

Nothing to undo. If a previous run left you without neoss or eg, rerun the installer and it will pick them up through the routes that work.

See also: v5.0.1.