pppkg — Overgrown OpenWRT opkg Listing Utility Script

pppkg — Overgrown OpenWRT opkg Listing Utility Script

Syntax

About & Brief Version History

pppkg is a simple script program that manipulates OpenWRT's opkg package management utility in order to:

  1. Minimize the input to the 26 letters of the English alphabet to help users cope with a mismatched keyboard layout, and
  2. Make easy batch [un]installations.

pppkg is a Bash script. Bash is not installed by default in OpenWRT and may be too big for embedded systems.

CAUTION

When both installing and uninstalling in batch, run a risk of breaking a systems as system packages may get overwritten, by incompatible ones or removed altogether. This may include the package manager itself. Regex is used in most if not all arguments taken by the utility, test expressions before adding the options for install or uninstall to the syntax.

Version History

v1 and v2

pppkg originally was a shortcut for sifting through opkg list command's output in a paged presentation. opkg is the package manager of the firewall distribution OpenWRT . Based on the lports script that manipulates lsof's output, pppkg was created as a shortcut mainly to minimize hunting for characters that move around between keyboard layouts (e.g. |, -, /, \, *, all brackets, braces, punctuation, etc.) to help ease working in the OpenWRT console where the only keyboard layout supported is en-US.

Run by itself it's no different than running opkg list | less -F. A string of arguments may be added which is passed to grep in case-insensitive extended regex mode, i.e. -iE.

v3

lports, the base for pppkg is a Bash script and it's meant for a full distribution where there are

License

Contact

Code

pppkg.txt · Last modified: 2024/04/16 13:07