yum Command Generator
Generate yum commands for the RHEL/CentOS package manager
Getting Started with yum
## What is yum?
`yum` (Yellowdog Updater, Modified) is the package manager for RHEL, CentOS, and older Fedora. It installs, updates, removes, and queries RPM packages from configured repositories. System-modifying commands require `sudo` or root.
## How to Use
1. **Pick an action**: Choose a subcommand — `install`, `remove`, `update`, `upgrade`, `search`, `info`, `list`, `clean`, or `check`. 2. **Add packages**: For `install`, `remove`, `info`, and `search`, enter one or more package names. 3. **Set options**: `-y` (assume yes), `--enablerepo`, `--nogpgcheck`, `-q` (quiet). 4. **Copy & Run**: Copy the generated command and prefix with `sudo` when needed.
Common Subcommands & Options
### `install` / `remove` Install or remove RPM packages by name: `yum install nginx httpd`.
### `update` / `upgrade` Update one or more packages, or every package when no name is given. On modern yum, `update` and `upgrade` behave identically (obsolete packages are kept).
### `search` / `info` / `list` `search` finds packages by name or description; `info` shows detailed metadata for one package; `list` lists all available or installed packages.
### `clean` / `check` `clean` clears the metadata and package cache; `check` inspects the local RPM database for problems.
### `-y` Assume yes Answer yes to every confirmation — essential for non-interactive installs.
### `--enablerepo=NAME` Temporarily enable a disabled repository (e.g. EPEL) for this single command: `yum install --enablerepo=epel nginx`.
### `--nogpgcheck` / `-q` Skip GPG signature verification, or run quietly with minimal output.
▶yum vs dnf — which should I use?
▶How do I enable the EPEL repository for a single install?
▶Why do I need sudo?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee