urpmi - Urpmi manager

Author:Philippe Makowski

Synopsis

New in version 1.3.4.

Manages packages with urpmi (such as for Mageia or Mandriva)

Options

parameter required default choices comments
force no True
  • yes
  • no
Corresponds to the --force option for urpmi.
no-suggests no True
  • yes
  • no
Corresponds to the --no-suggests option for urpmi.
pkg yes
    name of package to install, upgrade or remove.
    state no present
    • absent
    • present
    Indicates the desired package state
    update_cache no
    • yes
    • no
    update the package database first urpmi.update -a.

    Examples


    # install package foo
    - urpmi: pkg=foo state=present
    # remove package foo
    - urpmi: pkg=foo state=absent
    # description: remove packages foo and bar
    - urpmi: pkg=foo,bar state=absent
    # description: update the package database (urpmi.update -a -q) and install bar (bar will be the updated if a newer version exists)
    - urpmi: name=bar, state=present, update_cache=yes
    

    Table Of Contents

    Previous topic

    swdepot - Manage packages with swdepot package manager (HP-UX)

    Next topic

    yum - Manages packages with the yum package manager