tazpkg view doc/tazpkg.en.html @ rev 811
Update documentation (attempt to describe all the commands both with all options). Strongly need to review and update translations and docs! Add TazPkg help system for commandline (based on the HTML docs). Attempt to drop all package lists but "packages.info". Small improvements and code prettify.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 04 00:15:13 2015 +0300 (2015-06-04) |
parents | 5317ffe7bfbb |
children | 2f3580bd8c0c |
line source
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <title>TazPkg Manual (en)</title>
6 <meta name="viewport" content="width=device-width,initial-scale=1"/>
7 <link rel="stylesheet" type="text/css" href="../slitaz-doc.css" />
8 <script type="text/javascript" src="../slitaz-doc.js"></script>
9 </head>
10 <body>
12 <header>
13 <h1>TazPkg Manual</h1>
14 </header>
16 <!-- Start content -->
17 <div id="content">
20 <h2>NAME</h2>
22 <p>TazPkg — Tiny autonomous zone package manager</p>
25 <h2>SYNTAX</h2>
27 <pre>
28 tazpkg [command] [options...]
29 </pre>
32 <h2>DESCRIPTION</h2>
34 <p>TazPkg is a lightweight package manager to install, list, download, update or
35 remove precompiled packages on a GNU/Linux system. TazPkg offers commands for
36 searching and creating packages and was created independently for the project.
37 The format of the packages using the *.tazpkg extension is a cpio archive
38 containing a filesystem compressed with gzip, a receipt and an optional
39 description. TazPkg also manages dependencies based on package receipts. Each
40 receipt contains all the information about a package and can also include pre-
41 and post-installation functions. The same receipt is used by Cookutils to
42 compile sources and generate a .tazpkg package.</p>
44 <p>TazPkg is entirely built from scratch using Shell script, compatible with
45 Bash; it runs under Ash — part of the Busybox project. TazPkg is distributed
46 under the free GNU license GPL V3.</p>
49 <h2>COMMANDS</h2>
52 <h3>Service commands</h3>
54 <ul>
55 <li><a href="#usage">usage</a>: print short usage</li>
56 <li><a href="#help">help</a>: show help on the TazPkg commands</li>
57 <li><a href="#activity">activity</a>: show TazPkg activity log</li>
58 <li><a href="#clean-cache">clean-cache</a>: clean all packages downloaded in
59 cache directory</li>
60 <li><a href="#shell">shell</a>: run interactive TazPkg shell</li>
61 </ul>
64 <h3>Working with lists</h3>
66 <ul>
67 <li><a href="#list">list</a>: list installed packages on the system</li>
68 <li><a href="#list-mirror">list-mirror</a>: list all available packages on
69 the mirror</li>
70 <li><a href="#list-config">list-config</a>: list the configuration
71 files</li>
72 </ul>
75 <h3>Search</h3>
77 <ul>
78 <li><a href="#search">search</a>: search for a package by pattern or
79 name</li>
80 <li><a href="#search-pkgname">search-pkgname</a>: search on mirror for
81 package having a particular file</li>
82 <li><a href="#search-file">search-file</a>: search for file in all installed
83 packages files</li>
84 </ul>
87 <h3>Installing and removing packages</h3>
89 <ul>
90 <li><a href="#get">get</a>: download a package into the current
91 directory</li>
92 <li><a href="#install">install</a>: install a local package</li>
93 <li><a href="#get-install">get-install</a>: download and install a package
94 from the mirror</li>
95 <li><a href="#install-list">install-list</a>: install all packages from a
96 list of packages</li>
97 <li><a href="#install-list">get-install-list</a>: download and install a
98 list of packages from the mirror</li>
99 <li><a href="#remove">remove</a>: remove the specified package and all
100 installed files</li>
101 <li><a href="#reconfigure">reconfigure</a>: replay post install script from
102 package</li>
103 <li><a href="#link">link</a>: link a package from another SliTaz
104 installation</li>
105 <li><a href="#set-release">set-release</a>: change release and update
106 packages</li>
107 <li><a href="#add-flavor">add-flavor</a>: install the flavor list of
108 packages</li>
109 <li><a href="#add-flavor">install-flavor</a>: install the flavor list of
110 packages and remove other ones</li>
111 </ul>
114 <h3>Working with packages</h3>
116 <ul>
117 <li><a href="#info">info</a>: print information about a package</li>
118 <li><a href="#desc">desc</a>: print description of a package</li>
119 <li><a href="#list-files">list-files</a>: list the files installed with a
120 package</li>
121 <li><a href="#block">block, unblock</a>: block an installed package version
122 or unblock it for upgrade</li>
123 <li><a href="#check">check</a>: verify consistency of installed
124 packages</li>
125 <li><a href="#bugs">bugs</a>: show known bugs in packages</li>
126 <li><a href="#depends">depends</a>: display dependencies tree</li>
127 <li><a href="#depends">rdepends</a>: display reverse dependencies tree</li>
128 <li><a href="#extract">extract</a>: extract a (*.tazpkg) package into a
129 directory</li>
130 <li><a href="#pack">pack</a>: pack an unpacked or prepared package tree</li>
131 <li><a href="#repack">repack</a>: create a package archive from an installed
132 package</li>
133 <li><a href="#repack-config">repack-config</a>: create a package archive
134 with configuration files</li>
135 <li><a href="#recompress">recompress</a>: rebuild a package with a better
136 compression ratio</li>
137 <li><a href="#convert">convert</a>: convert alien package to tazpkg</li>
138 <li><a href="#list-suggested">list-suggested</a>: print list of suggested
139 packages</li>
140 </ul>
143 <h3>Working with repositories</h3>
145 <ul>
146 <li><a href="#recharge">recharge</a>: recharge your packages database from
147 the mirror</li>
148 <li><a href="#upgrade">upgrade</a>: check packages, list and install latest
149 upgrades</li>
150 <li><a href="#setup-mirror">setup-mirror</a>: change the mirror URL
151 configuration</li>
152 <li><a href="#add-undigest">setup-undigest</a>: update an undigest
153 mirror</li>
154 <li><a href="#list-undigest">list-undigest</a>: list undigest mirrors</li>
155 <li><a href="#add-undigest">add-undigest</a>: add an undigest mirror</li>
156 <li><a href="#remove-undigest">remove-undigest</a>: remove an undigest
157 mirror</li>
158 </ul>
163 <h2>Service commands</h2>
166 <h3 id="usage">usage</h3>
168 <p>Show the full list of the TazPkg commands with a brief description.</p>
170 <pre>
171 $ tazpkg usage
172 $ tazpkg
173 </pre>
176 <h3 id="help">help</h3>
178 <p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can
179 enter a short name of the command, the full name or a part of the full name. You
180 can ignore hyphens at the beginning of the short name. If the requested part of
181 the full name match the several commands, you will be asked to clarify the
182 request.</p>
184 <pre>
185 $ tazpkg help <em>-gi</em>
186 $ tazpkg -h <em>us</em>
187 </pre>
190 <h3 id="activity">activity</h3>
192 <p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or
193 <tt>-a</tt>). Optional parameter <tt>--nb=</tt> lets you set number of displayed
194 lines.</p>
196 <pre>
197 $ tazpkg activity
198 $ tazpkg -a --nb=<em>20</em>
199 </pre>
202 <h3 id="clean-cache">clean-cache</h3>
204 <p>Remove *.tazpkg packages downloaded to the cache (<tt>clean-cache</tt> or
205 <tt>-cc</tt>). During installation, TazPkg keeps a copy of packages downloaded
206 from the Web. This is done to save bandwidth in case of reinstallation, but you
207 may want to free up space on the hard drive or re-download the packages.</p>
209 <pre>
210 # tazpkg clean-cache
211 # tazpkg -cc
212 </pre>
215 <h3 id="shell">shell</h3>
217 <p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands
218 listed above.</p>
220 <pre>
221 $ tazpkg shell
222 # tazpkg shell
223 </pre>
228 <h2>Working with lists</h2>
231 <h3 id="list">list</h3>
233 <p>List packages installed on the system (<tt>list</tt> or <tt>-l</tt>). This
234 command displays a column list of all installed packages. It also allows you to
235 list the categories (<tt>c</tt> or <tt>cat</tt> or <tt>categories</tt>),
236 packages based on category and packages placed on hold (<tt>b</tt> or
237 <tt>blocked</tt>). You can also use the <tt><a href="#search">search</a></tt>
238 command for a list based on a term or package name.</p>
240 <pre>
241 $ tazpkg list
242 $ tazpkg list cat
243 $ tazpkg list <em>games</em>
244 $ tazpkg list blocked
245 </pre>
248 <h3 id="list-mirror">list-mirror</h3>
250 <p>List packages available on the mirror (<tt>list-mirror</tt> or <tt>-lm</tt>).
251 This command will display the packages list recharged from the mirror. If it
252 doesn't exist, you will be asked to launch <code>tazpkg
253 <a href="#recharge">recharge</a></code> as administrator (root) for a list of
254 available packages. The <tt>--diff</tt> option is used to display the
255 differences between the last and current list of packages.</p>
257 <pre>
258 $ tazpkg list-mirror
259 $ tazpkg -lm --diff
260 </pre>
263 <h3 id="list-config">list-config</h3>
265 <p>Lists the system configuration files. The <tt>--box</tt> option displays in
266 table form. You can specify package name to display configuration files only for
267 this package.</p>
269 <pre>
270 $ tazpkg list-config
271 $ tazpkg list-config --box
272 $ tazpkg list-config <em>slim</em>
273 $ tazpkg list-config --box <em>slim</em>
274 </pre>
279 <h2>Search</h2>
282 <h3 id="search">search</h3>
284 <p>Search for packages by owner or package name (<tt>search</tt> or
285 <tt>-s</tt>). This command will search for the term wanted in the installed
286 packages (<tt>-i</tt> or <tt>--installed</tt>) and the list of available
287 packages on the mirror (<tt>-l</tt> or <tt>--list</tt>).</p>
289 <p>To obtain the latest list of installable packages on the mirror, just run
290 <code>tazpkg recharge</code> before conducting a search.</p>
292 <pre>
293 $ tazpkg search <em>gcc</em>
294 $ tazpkg search <em>mt</em> -i
295 $ tazpkg search <em>bit</em> -l
296 </pre>
299 <h3 id="search-pkgname">search-pkgname</h3>
301 <p>Search for a file on mirror and output only the packages names
302 (<tt>search-pkgname</tt> or <tt>-sp</tt>).</p>
304 <pre>
305 $ tazpkg search-pkgname <em>libnss</em>
306 $ tazpkg -sp <em>/usr/share/fonts</em>
307 </pre>
310 <h3 id="search-file">search-file</h3>
312 <p>Search for a file among the files installed by the packages
313 (<tt>search-file</tt> or <tt>-sf</tt>). This command is very useful to find the
314 full path to a file and determine if a file is present on the system. Option
315 <tt>--mirror</tt> allows to search for a file among all the files available on
316 the mirror.</p>
318 <pre>
319 $ tazpkg search-file <em>libnss</em>
320 $ tazpkg -sf <em>/usr/share/fonts</em> --mirror
321 </pre>
326 <h2>Installing and removing packages</h2>
329 <h3 id="get">get</h3>
331 <p>Get a package from the mirror (<tt>get</tt> or <tt>-g</tt>). The downloaded
332 package is stored in the current directory. To find the path you can use
333 <code>pwd</code>.</p>
335 <pre>
336 # tazpkg get <em>grub</em>
337 # tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
338 </pre>
341 <h3 id="install">install</h3>
343 <p>This command allows the installation of a local package with the
344 <tt>.tazpkg</tt> extension (<tt>install</tt> or <tt>-i</tt>). See
345 <tt><a href="#get-install">get-install</a></tt> to install a package from the
346 internet. Note that you can force the installation via the <tt>--forced</tt>
347 option, specify the root system where you want to install the packages via the
348 <tt>--root=</tt> option.</p>
350 <pre>
351 # tazpkg install <em>package-1.0.tazpkg</em>
352 # tazpkg -i <em>path/to/package-1.0.tazpkg</em> --forced
353 # tazpkg -i <em>path/to/package-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
354 </pre>
357 <h3 id="get-install">get-install</h3>
359 <p>Get and install a package from a mirror on the internet (<tt>get-install</tt>
360 or <tt>-gi</tt>). Command begins by checking whether the package exists on the
361 mirror and if it has been already downloaded. For a list of packages on the
362 mirror, we must use the <tt><a href="#list-mirror">list-mirror</a></tt>
363 command.</p>
365 <p>Following options are recognized by command:</p>
367 <p><tt>--forced</tt> allow update already installed package.</p>
369 <p><tt>--root=</tt> allow specify root of filesystem where package will be
370 installed.</p>
372 <pre>
373 # tazpkg get-install <em>grub</em>
374 # tazpkg -gi <em>grub</em> --forced
375 # tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
376 </pre>
379 <h3 id="install-list">install-list, get-install-list</h3>
381 <p>Install a set of packages listed in a file. This command allows you to
382 (download and) install several packages with a single command and can also be
383 forced.</p>
385 <pre>
386 # tazpkg install-list <em>my-packages.list</em>
387 # tazpkg get-install-list <em>my-packages.list</em> --forced
388 </pre>
391 <h3 id="remove">remove</h3>
393 <p>Remove a package (<tt>remove</tt> or <tt>-r</tt>). You will be asked for
394 confirmation (y/N) of removing the package, as well as for removing packages
395 depending on this package, and for reinstalling packages modified by this
396 package. This command will delete all files installed with the package.</p>
398 <p>Option <tt>--root=</tt> allows to specify root of the FS where package will
399 be removed. Option <tt>--auto</tt> removes and reinstall packages without your
400 confirmation.</p>
402 <pre>
403 # tazpkg remove <em>bc</em>
404 # tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
405 # tazpkg -r <em>nano</em> --auto
406 </pre>
409 <h3 id="reconfigure">reconfigure</h3>
411 <p>Replays the post-install script from the package.</p>
413 <pre>
414 # tazpkg reconfigure <em>gcc</em>
415 # tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
416 </pre>
419 <h3 id="link">link</h3>
421 <p>This command allows the installation of a package from another media device.
422 The set up is done through symbolic links and consumes very little memory. It is
423 generally used within the system RAM to install add-ons from an USB key.</p>
425 <pre>
426 # tazpkg link <em>openoffice /media/usbdisk</em>
427 </pre>
430 <h3 id="set-release">set-release</h3>
432 <p>The <tt>set-release</tt> command changes the current version and upgrades all
433 of the packages to the latest release.</p>
435 <pre>
436 # tazpkg set-release <em>cooking</em>
437 </pre>
440 <h3 id="add-flavor">add-flavor, install-flavor</h3>
442 <p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt>
443 purges other installed packages.</p>
445 <pre>
446 # tazpkg add-flavor <em>gtkonly</em>
447 # tazpkg install-flavor <em>justx</em>
448 </pre>
453 <h2>Working with packages</h2>
456 <h3 id="info">info</h3>
458 <p>Display any information available in the receipt for the package in
459 question — its version, category, maintainer, Web site and any dependencies (see
460 also Cookutils for more information on receipts).</p>
462 <pre>
463 $ tazpkg info <em>busybox</em>
464 </pre>
467 <h3 id="desc">desc</h3>
469 <p>Description of the package (if it exists) (<tt>desc</tt> or <tt>-d</tt>).
470 This command displays the <tt>description.txt</tt> file of each package (a
471 simple text file, justified to 80 characters to fit in a standard terminal).</p>
473 <pre>
474 $ tazpkg desc <em>busybox</em>
475 </pre>
478 <h3 id="list-files">list-files</h3>
480 <p>List all files installed with a package (<tt>list-files</tt> or
481 <tt>-lf</tt>). This command will simply read and display the <tt>files.list</tt>
482 of each package which is automatically generated when the package is created and
483 is also used to remove files when uninstalling a package.</p>
485 <pre>
486 $ tazpkg list-files <em>bc</em>
487 </pre>
490 <h3 id="block">block, unblock, chblock</h3>
492 <p>The <tt>block</tt> (or <tt>-b</tt>) and <tt>unblock</tt> (or <tt>-u</tt>)
493 commands permit you to block installed package versions so that they are not
494 maintained by an <tt><a href="#upgrade">upgrade</a></tt>. Command
495 <tt>chblock</tt> changes blocking state of the package. The list of packages on
496 hold are contained in the <tt>/var/lib/tazpkg/blocked-packages.list</tt>. This
497 file can also be edited by hand.</p>
499 <pre>
500 # tazpkg block <em>grub</em>
501 # tazpkg unblock <em>grub</em>
502 # tazpkg chblock <em>grub</em>
503 </pre>
506 <h3 id="check">check</h3>
508 <p>The <tt>check</tt> command can check dependencies on installed packages and
509 determine whether all the files needed for the repacking of packages are
510 present.</p>
512 <pre>
513 $ tazpkg check
514 $ tazpkg check --full
515 $ tazpkg check <em>nano</em>
516 $ tazpkg check <em>sakura</em> --full
517 </pre>
520 <h3 id="bugs">bugs</h3>
522 <p>Generates a list of known bugs in the packages. You can specify a single
523 package to show bugs.</p>
525 <pre>
526 $ tazpkg bugs
527 $ tazpkg bugs <em>my_package</em>
528 </pre>
531 <h3 id="depends">depends, rdepends</h3>
533 <p>Displays a dependency tree or reverse dependency tree for a package.</p>
535 <pre>
536 # tazpkg depends <em>mpd</em>
537 # tazpkg rdepends <em>mpd</em>
538 </pre>
541 <h3 id="extract">extract</h3>
543 <p>Extract a package into a directory (<tt>extract</tt> or <tt>-e</tt>). If you
544 do not specify the destination directory, the package will be extracted in the
545 current directory using the name <tt><em>package-version</em></tt>.</p>
547 <pre>
548 $ tazpkg extract <em>package.tazpkg</em>
549 $ tazpkg extract <em>package.tazpkg target/dir</em>
550 </pre>
553 <h3 id="pack">pack</h3>
555 <p>The <tt>pack</tt> command will create a package from a directory prepared in
556 advance or from an unpacked package. It can also manually create a .tazpkg
557 package (see the Cookutils documentation for the automatic creation of
558 packages).</p>
560 <pre>
561 # tazpkg pack <em>package-version</em>
562 </pre>
565 <h3 id="repack">repack</h3>
567 <p>The <tt>repack</tt> command allows you to recreate a package from the files
568 on a system where it was previously installed.</p>
570 <pre>
571 $ tazpkg repack <em>package</em>
572 </pre>
575 <h3 id="repack-config">repack-config</h3>
577 <p>The <tt>repack-config</tt> command recreates a package of the system
578 configuration files (see <tt><a href="#list-config">list-config</a></tt>). It is
579 enough to install the package to find the current configuration.</p>
581 <pre>
582 # tazpkg repack-config
583 </pre>
586 <h3 id="recompress">recompress</h3>
588 <p>Recompress .tazpkg cpio archive with lzma.</p>
590 <pre>
591 $ tazpkg recompress <em>package.tazpkg</em>
592 </pre>
595 <h3 id="convert">convert</h3>
597 <p>Converts an "alien" package into a SliTaz package (.tazpkg) (<tt>convert</tt>
598 or <tt>-c</tt>.</p>
600 <p>Supported packages formats:</p>
602 <ul>
603 <li><a href="https://packages.debian.org/search" target="_blank">Debian
604 packages</a> (<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
605 <li><a href="http://rpmfind.net/linux/rpm2html/search.php"
606 target="_blank">RPM packages</a> (<tt>*.rpm</tt>)</li>
607 <li><a href="http://www.slax.org/" target="_blank">Slax packages</a>
608 (<tt>*.sb</tt>)</li>
609 <li><a href="http://puppylinux.org/" target="_blank">Puppy packages</a>
610 (<tt>*.sfs</tt>, <tt>*.pet</tt>)</li>
611 <li><a href="http://www.slackware.com/packages/" target="_blank">Slackware
612 packages</a> (<tt>*.tgz</tt>)</li>
613 <li><a href="http://www.nutyx.org/" target="_blank">NuTyX packages</a>
614 (<tt>*.cards.tar.xz</tt>)</li>
615 <li><a href="https://www.archlinux.org/packages/" target="_blank">Arch
616 Linux</a> / <a href="http://pkgs.alpinelinux.org/packages"
617 target="_blank">Alpine Linux packages</a> (<tt>*.apk</tt>,
618 <tt>*.pkg.tar.gz</tt>, <tt>*.pkg.tar.xz</tt>)</li>
619 <li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">OpenWrt
620 packages</a> (<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
621 <li><a href="http://0.tuxfamily.org/doku.php/paquets/start"
622 target="_blank">0Linux packages</a> (<tt>*.spack</tt>)</li>
623 <li><a href="http://www.paldo.org/index-section-packages.html"
624 target="_blank">paldo packages</a> (<tt>*.tar.bz2</tt>)</li>
625 <li><a href="http://www.voidlinux.eu/packages/" target="_blank">Void
626 packages</a> (<tt>*.xbps</tt>)</li>
627 <li><a href="http://tinycorelinux.net/" target="_blank">Tinycore
628 packages</a> (<tt>*.tce</tt>, <tt>*.tcel</tt>, <tt>*.tcem</tt>,
629 <tt>*.tcz</tt>)</li>
630 </ul>
632 <pre>
633 # tazpkg convert <em>alien-package-file</em>
634 </pre>
637 <h3 id="list-suggested">list-suggested</h3>
639 <p>List suggested packages for each of your installed packages. With option
640 <tt>--all</tt> it shows all suggested packages, and without option it shows only
641 not installed suggested packages.</p>
643 <pre>
644 $ tazpkg list-suggested
645 $ tazpkg list-suggested --all
646 </pre>
651 <h2>Working with repositories</h2>
654 <h3 id="recharge">recharge</h3>
656 <p>Recharge the list of available packages on the mirror. This command will
657 download the most recent packages database of installable packages on the mirror
658 and before starting will save the old database. Once the DB is updated, you can
659 then use the <tt><a href="#list">list</a></tt> and
660 <tt><a href="#search">search</a></tt> commands. To view and list the
661 differences, you can use <code>list-mirror --diff</code>; and to view and update
662 packages, you can simply <tt><a href="#upgrade">upgrade</a></tt>.</p>
664 <p>Command without options will recharge databases of all your repositories. You
665 can specify repository to be recharged: "main" for main repo, or undigest
666 repository name. Option <tt>--root=</tt> allow you to specify root of filesystem
667 where you want to recharge DB.</p>
669 <pre>
670 # tazpkg recharge
671 # tazpkg recharge main
672 # tazpkg recharge <em>My_Undigest</em>
673 # tazpkg recharge --root=<em>/mnt/sda6</em>
674 </pre>
677 <h3 id="upgrade">upgrade</h3>
679 <p>Upgrade allows you to update all installed packages available on the current
680 mirror (<tt>upgrade</tt> or <tt>up</tt>). Upgrading packages is an important
681 part of system security, it helps to keep you secure with the latest updates and
682 fixes. The SliTaz project, although tiny, provides regular updates on security
683 and generally offers the latest versions of software. Note that this function is
684 aimed at people with SliTaz installed on a hard drive. Updated packages in
685 Live CD mode will be lost on system shutdown.</p>
687 <p>Without options run in interactive mode and ask before install. You can
688 specify one or more of the next options:</p>
690 <p><tt>-c</tt> or <tt>--check</tt> to check only for available upgrades;</p>
692 <p><tt>-r</tt> or <tt>--recharge</tt> to force recharge of packages list and
693 check;</p>
695 <p><tt>-i</tt> or <tt>--install</tt> to check for upgrades and install them
696 all.</p>
698 <pre>
699 # tazpkg upgrade
700 # tazpkg up --recharge --install
701 # tazpkg up -r -i
702 </pre>
705 <h3 id="setup-mirror">setup-mirror</h3>
707 <p>Setup the URL for the mirror. The <tt>setup-mirror</tt> (or <tt>-sm</tt>)
708 command will ask for the URL of the new mirror. Note that you can also modify
709 the main <tt>/var/lib/tazpkg/mirror</tt> file. The URL must point to the
710 directory containing the <tt>packages.info</tt> and packages.</p>
712 <pre>
713 # tazpkg setup-mirror
714 </pre>
717 <h3 id="add-undigest">add-undigest, setup-undigest</h3>
719 <p>Set the URL of an additional unofficial mirror to test packages that are not
720 yet present on the official mirrors. Note, you can also manually edit the file
721 in <tt>/var/lib/tazpkg/undigest/<em>repository</em></tt>. The URL must point to
722 the directory containing the packages and <tt>packages.info</tt>.</p>
724 <pre>
725 # tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
726 # tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em>
727 </pre>
730 <h3 id="list-undigest">list-undigest</h3>
732 <p>Lists additional undigest mirrors. Option <tt>--box</tt> will output list in
733 the table form.</p>
735 <pre>
736 # tazpkg list-undigest
737 # tazpkg list-undigest --box
738 </pre>
741 <h3 id="remove-undigest">remove-undigest</h3>
743 <p>Removes the URL of an undigest mirror. You will be asked for
744 confirmation.</p>
746 <pre>
747 # tazpkg remove-undigest <em>my-repository</em>
748 </pre>
753 <h2>MAINTAINER</h2>
755 <p>Christophe Lincoln <pankso at slitaz.org></p>
757 </div>
758 <!-- End content -->
759 </body>
760 </html>