User Tools

Site Tools


docs:man:managing_packages

Managing packages

TOC

Poldek

Preparing

Display help

# poldek --help
Usage: poldek [OPTION...] [PACKAGE...]
...

List repositories

# 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)

Choose repositories

# poldek -n titanium -n titanium-test

Upgrade repositories indexes

poldek –up - will affect only repositories with autoup=yes To update other repositories - mix –up with -n repository.

# poldek -n titanium -n titanium-test --up

Interactive mode

To enter into poldek's interactive mode just type:

poldek

Or poldek -n repository (look above)

Getting Help

poldek:/all-avail> help

Type COMMAND -? for details.

Install package(s)

poldek:/all-avail> install package

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%]

Uninstalling packages

poldek:/all-avail> uninstall package

Search packages

:!: remember about *
poldek:/all-avail> search package

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
[...]
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
Search specific file

poldek:/all-avail> search -f path_to_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

TIPS

  • There is shell completion in poldek's interactive mode available - [TAB] key

Batch mode

Poldek provides two kinds of batch mode:

ipoldek

ipoldek which accepts commands from interactive mode ex.:

# ipoldek ls konqueror
successfully used for monitoring
Loading [pndir]th...
11780 packages read
Removed 7 duplicate packages from available set
Loading [rpmdbcache]/var/lib/rpm...
1252 packages loaded
konqueror-3.5.10-3.i686

Get command between ““ is helpful when using * or ?

# ipoldek "ls kde4*"

poldek

standard batch mode List available commands:

# poldek --help


:!: Write something more here :!:

See also: http://poldek.pld-linux.org/Manual/index.html]

rpm

http://rpm5.org/docs.php]
:!: Write something more here :!:

TOC

docs/man/managing_packages.txt · Last modified: 2008-12-25 20:37 by grizz

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS PLD Linux Driven by DokuWiki