File: install

package info (click to toggle)
zypper 1.14.94-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 28,464 kB
  • sloc: cpp: 27,415; sh: 718; perl: 133; xml: 109; python: 39; makefile: 14
file content (55 lines) | stat: -rw-r--r-- 1,787 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
- install ufo
  * install, or upgrade to the best package named 'ufo' or providing symbol
   'ufo', in that order
  * or say "'foo' not found."
  * or say "'foo' already installed"
    * TODO or additionally say "Better version 'foo' exists in repo 'repo'
      having lower priority. Use ??? to install it."
    * TODO or additionally say "Better version 'foo' exists in repo 'repo' but
      is provided by a different vendor. Use ??? to install it."

- install --name ufo
  * install, or upgrade to the best package named 'ufo'
  * or give the feedback as in the 'install ufo' case above

- install --capability ufo
  * install the best version of one of packages providing symbol 'ufo'
  * or say "'foo' not found."
  * or say "Package 'fooprovider' providing 'foo' is already installed"

- install --from repo ufo
  install repo:ufo
  * like 'install --name ufo', but take the package from repo 'repo'
    TODO make it like 'install ufo' (allow also by-capability)
  * TODO or say "Can't install 'ufo' from 'repo' because of a vendor change. Use
    --force to override."
  * TODO or say "Better version of 'ufo' is already installed. Use --force to install
    the version from 'repo'."


ACCEPTED arguments:

[modifier][repo:][type:]name[.arch][opevr[.arch]]

type     = patch|pattern|product       ; if not specified 'package' is implied
evr      = [edition:]version[-release]
op       = -|=|>=|<=|>|<
modifier = +|-|~|!                     ; install/remove modifier

examples

ufo
+ufo
ufo-1.2.0
ufo>1.2.0
repo:ufo
pattern:ufo
repo:patch:ufo-12
ufo.i586-1:1.2.0-4
~ufo=1:1.2.0-4.i586


NOTES
- 'install' == 'install --name' with fallback to 'install --capability'
- using .arch or evr forces --capability
  (but this is basically not necessary and can be changed in the future)