urpmi: add pages (#12025)

This commit is contained in:
Vitor Henrique
2024-01-15 01:46:02 -03:00
committed by GitHub
parent 1a1ed6d01d
commit 7aa21e2f07
7 changed files with 158 additions and 0 deletions

25
pages/linux/urpmi.md Normal file
View File

@@ -0,0 +1,25 @@
# urpmi
> Install packages in Mageia.
> See also: `urpm.update`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`.
> More information: <https://wiki.mageia.org/en/URPMI#urpmi>.
- Install a package from the repository or from a local RPM file:
`sudo urpmi {{package|path/to/file.rpm}}`
- Download a package without installing it:
`urpmi --no-install {{package}}`
- Update all installed packages (run `urpmi.update -a` to get the available updates):
`sudo urpmi --auto-select`
- Update a package of one or more machines on the network according to `/etc/urpmi/parallel.cfg`:
`sudo urpmi --parallel local {{package}}`
- Mark all orphaned packages as manually installed:
`sudo urpmi $(urpmq --auto-orphans -f)`