This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:man:managing_packages [2008-10-25 14:08] grizz toc |
docs:man:managing_packages [2008-12-25 20:37] grizz |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | |||
- | ====== Managing packages ====== | ||
- | |||
- | |||
- | ===== Poldek ===== | ||
- | |||
- | |||
- | ==== Preparing ==== | ||
- | Display help: | ||
- | |||
- | <file># poldek --help | ||
- | Usage: poldek [OPTION...] [PACKAGE...] | ||
- | ... | ||
- | </file> | ||
- | List repositories: | ||
- | |||
- | <file># poldek -l | ||
- | th ftp://ftp.pld-linux.org/dists/3.0/PLD/x86_64/RPMS/ (noauto,noautoup,type=pndir) | ||
- | th-ready ftp://ftp.pld-linux.org/dists/3.0/ready/x86_64/RPMS/ (noauto,noautoup,type=pndir) | ||
- | th-test ftp://ftp.pld-linux.org/dists/3.0/test/x86_64/RPMS/ (noauto,noautoup,type=pndir) | ||
- | titanium ftp://ftp.titanium.pld-linux.org/branches/titanium/PLD/noarch/RPMS/ (type=pndir) | ||
- | titanium ftp://ftp.titanium.pld-linux.org/branches/titanium/PLD/x86_64/RPMS/ (type=pndir) | ||
- | titanium-i686 ftp://ftp.titanium.pld-linux.org/branches/titanium/PLD/i686/RPMS/ (type=pndir) | ||
- | titanium-ready ftp://ftp.titanium.pld-linux.org/branches/titanium/[...]/ (type=pndir) | ||
- | titanium-ready ftp://ftp.titanium.pld-linux.org/branches/titanium/[...]/ (type=pndir) | ||
- | titanium-ready-i686 ftp://ftp.titanium.pld-linux.org/branches/titanium/ready/i686/RPMS/ (type=pndir) | ||
- | titanium-test ftp://ftp.titanium.pld-linux.org/branches/titanium/[...]/ (type=pndir) | ||
- | titanium-test ftp://ftp.titanium.pld-linux.org/branches/titanium/[...]/ (type=pndir) | ||
- | titanium-test-i686 ftp://ftp.titanium.pld-linux.org/branches/titanium/test/i686/RPMS/ (type=pndir) | ||
- | |||
- | </file> | ||
- | Choose repositories: | ||
- | |||
- | <file># poldek -n titanium -n titanium-test | ||
- | </file> | ||
- | Upgrade repositories indexes: **poldek --up** - will affect only repositories with autoup=yes To update other repositories - mix **--up** with **-n repository**. | ||
- | |||
- | <file># poldek -n titanium -n titanium-test --up | ||
- | </file> | ||
- | |||
- | |||
- | ==== Interactive mode ==== | ||
- | To enter into poldek's interactive mode just type: | ||
- | |||
- | <file>poldek | ||
- | </file> | ||
- | Or **poldek -n repository** (look above) | ||
- | |||
- | |||
- | |||
- | === Getting Help === | ||
- | **poldek:/all-avail> help** | ||
- | |||
- | Type COMMAND -? for details. | ||
- | |||
- | |||
- | |||
- | === Install package(s) === | ||
- | **poldek:/all-avail> install package** | ||
- | |||
- | |||
- | |||
- | <file>poldek:/all-avail> install mc-4.6.2-0.pre1.3.x86_64 | ||
- | Processing dependencies... | ||
- | Package mc-4.6.2-0.pre1.3.x86_64 suggests installation of: | ||
- | 1. lynx | ||
- | Try to install it?? [N/y] n | ||
- | There are 1 package to install: | ||
- | I mc-4.6.2-0.pre1.3.x86_64 | ||
- | Need to get 1.4MB of archives (1.4MB to download). | ||
- | After unpacking 5.0MB will be used. | ||
- | Retrieving titanium::mc-4.6.2-0.pre1.3.x86_64.rpm... | ||
- | .............................. 100.0% [1.4M (225.7K/s)] | ||
- | Executing rpm --upgrade -vh --root /... | ||
- | Preparing... ########################################### [100%] | ||
- | 1:mc ########################################### [100%] | ||
- | |||
- | </file> | ||
- | |||
- | |||
- | === Uninstalling packages === | ||
- | **poldek:/all-avail> uninstall package** | ||
- | |||
- | |||
- | |||
- | === Search packages === | ||
- | :!: remember about *****\\ **poldek:/all-avail> search package** | ||
- | |||
- | <file>poldek:/all-avail> search vim* | ||
- | Searching packages..........................................done. | ||
- | 15 package(s) found: | ||
- | gvim-athena-7.2.13-1.x86_64 | ||
- | gvim-gnome-7.2.13-1.x86_64 | ||
- | [...] | ||
- | </file> | ||
- | |||
- | |||
- | <file>poldek:/all-avail> search tetex*qtx* | ||
- | Searching packages..........................................done. | ||
- | 2 package(s) found: | ||
- | tetex-fonts-qtx-3.0-10.x86_64 | ||
- | tetex-tex-qtx-3.0-10.x86_64 | ||
- | </file> | ||
- | |||
- | |||
- | == Search specific file == | ||
- | **poldek:/all-avail> search -f path_to_file** | ||
- | |||
- | <file>poldek:/all-avail> search -f */play | ||
- | Searching packages..........................................done. | ||
- | 2 package(s) found: | ||
- | emacs-common-22.3-1.x86_64 | ||
- | sox-14.0.1-3.x86_64 | ||
- | </file> | ||
- | **TIPS** | ||
- | |||
- | |||
- | * There is shell completion in poldek's interactive mode available - [TAB] key | ||
- | |||
- | |||
- | ==== Batch mode ==== | ||
- | \\ :!: Write something more here :!: | ||
- | |||
- | See also: [[[http://poldek.pld-linux.org/Manual/index.html|http://poldek.pld-linux.org/Manual/index.html]]] | ||
- | |||
- | ===== rpm ===== | ||
- | [[[http://rpm5.org/docs.php|http://rpm5.org/docs.php]]] \\ :!: Write something more here :!: | ||
- | |||
- | |||
- | [[:Docs:man| TOC]] | ||
- | |||