aux4 system installer for yum
This package provides a small aux4 wrapper around the yum package manager so you can manage RHEL/CentOS/Amazon Linux (and other YUM-based) packages via aux4 commands. It exposes install and uninstall actions and maps both the yum and linux top-level names to the same functionality so it fits naturally into aux4 pkger/system workflows.
Main use cases:
This package is targeted at Linux systems and integrates with the aux4 package manager (it depends on aux4/pkger being available).
aux4 aux4 pkger install aux4/system-installer-yum
Install a package named curl:
aux4 aux4 pkger system yum install curl
This runs yum install -y curl on the host. Run the command as root or prefix with sudo so yum has permission to install packages.
Use this for the common case: installing a single yum package by name.
The command is available at aux4 aux4 pkger system yum install.
aux4 aux4 pkger system yum install <package>
Replace <package> with the package name (for example, curl). The command expands to yum install -y ${package} and will install the package non-interactively.
Remove a package with the corresponding uninstall action. This maps to yum remove -y ${package}.
The command is available at aux4 aux4 pkger system yum uninstall.
aux4 aux4 pkger system yum uninstall <package>
Run as root or with sudo so yum can remove packages.
This package exposes the same functionality under the linux name (an alias for yum) so you can invoke it as:
aux4 aux4 pkger system linux install curl
This is equivalent to aux4 aux4 pkger system yum install curl and exists for convenience in workflows that reference "linux" as the system type.
Install curl non-interactively:
aux4 aux4 pkger system yum install curl
This executes yum install -y curl. Use root or sudo to avoid permission errors.
Uninstall curl:
aux4 aux4 pkger system yum uninstall curl
This executes yum remove -y curl and will remove the package non-interactively.
Install wget using the alias:
aux4 aux4 pkger system linux install wget
This is identical to calling the yum command and may read more clearly in workflows that use linux as the system installer name.
This package is licensed under the Apache License 2.0.
See LICENSE for details.