mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
31 lines
835 B
Plaintext
31 lines
835 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# urpmi
|
|
|
|
> Install packages in Mageia.
|
|
> See also: `urpmi.update`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`.
|
|
> More information: <https://man.linuxreviews.org/man8/urpmi.8.html>.
|
|
|
|
- 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)`
|