conf2/zsh/.oh-my-zsh/plugins/dnf/README.md

26 lines
1.1 KiB
Markdown
Raw Normal View History

## Description
2019-01-12 15:47:23 +00:00
This plugin makes `dnf` usage easier by adding aliases for the most
common commands.
2019-01-12 15:47:23 +00:00
`dnf` is the new package manager for RPM-based distributions, which
replaces `yum`.
2019-01-12 15:47:23 +00:00
## Aliases
| Alias | Command | Description |
|-------|-------------------------|--------------------------|
| dnfl | `dnf list` | List packages |
| dnfli | `dnf list installed` | List installed packages |
| dnfgl | `dnf grouplist` | List package groups |
| dnfmc | `dnf makecache` | Generate metadata cache |
| dnfp | `dnf info` | Show package information |
| dnfs | `dnf search` | Search package |
| **Use `sudo`** |
| dnfu | `sudo dnf upgrade` | Upgrade package |
| dnfi | `sudo dnf install` | Install package |
| dnfgi | `sudo dnf groupinstall` | Install package group |
| dnfr | `sudo dnf remove` | Remove package |
| dnfgr | `sudo dnf groupremove` | Remove package group |
| dnfc | `sudo dnf clean all` | Clean cache |