tazpkg annotate doc/tazpkg.es.html @ rev 976

misc typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 09 12:03:43 2021 +0000 (2021-11-09)
parents 1c61f2488440
children
rev   line source
pankso@670 1 <!DOCTYPE html>
al@811 2 <html lang="es">
pankso@670 3 <head>
al@844 4 <meta charset="UTF-8">
al@844 5 <title>Manual TazPkg</title>
al@844 6 <meta name="viewport" content="width=device-width,initial-scale=1">
al@844 7 <link rel="stylesheet" href="../slitaz-doc.css">
al@844 8 <script src="../slitaz-doc.js"></script>
pankso@670 9 </head>
pankso@670 10 <body>
pankso@670 11
al@811 12 <header>
pankso@670 13 <h1>Manual TazPkg</h1>
al@811 14 </header>
pankso@670 15
pankso@670 16
al@844 17 <section><header>Nombre</header>
pankso@670 18
al@844 19 <p>TazPkg — Pequeño administrador autónomo de paquetes y espejos de paquetes.</p>
al@844 20 </section>
pankso@670 21
pankso@670 22
pankso@670 23
al@844 24
al@844 25 <section><header>Sintaxis</header>
pankso@670 26
pankso@670 27 <pre>
al@844 28 tazpkg [comando] [parámetros...]
al@844 29 </pre>
al@844 30 </section>
al@844 31
al@844 32
al@844 33
al@844 34
al@844 35 <section><header>Descripción</header>
al@844 36
al@844 37 <p>TazPkg es un administrador de paquetes ligero para instalar, catalogar, descargar, actualizar o
al@844 38 desinstalar paquetes precompilados en un sistema GNU/Linux. TazPkg ofrece comandos para la búsqueda
al@844 39 y creación de paquetes y fue creado independientemente para el proyecto. El formato de los paquetes
al@844 40 usando la extensión *.tazpkg es un fichero cpio que contiene un sistema de archivos comprimido con
al@844 41 lzma, un fichero de recibo y una descripción opcional. TazPkg también administra dependencias
al@844 42 basadas en los ficheros de recibo de los paquetes. Cada archivo de recibo contiene toda la
al@844 43 información sobre un paquete y también puede incluir funciones para antes y después de la
al@844 44 instalación. El mismo fichero de recibo es usado por <a href="../cookutils/cookutils.en.html"
al@844 45 target="_blank">Cookutils</a> para compilar desde el código fuente y generar un paquete .tazpkg.</p>
al@844 46
al@844 47 <p>TazPkg está construido completamente desde cero usando shell script, compatible con Bash, se
al@844 48 ejecuta bajo Ash (que forma parte de BusyBox). TazPkg es distribuido bajo la licencia libre de GNU
al@844 49 <a href="file:///usr/share/licenses/gpl.txt" target="_blank">GPL V3</a>.</p>
al@844 50 </section>
al@844 51
al@844 52
al@844 53
al@844 54
al@844 55 <section><header>Environment</header>
al@844 56
al@844 57 <p>TazPkg uses some environment variables:</p>
al@844 58
al@844 59 <ul>
al@844 60 <li><tt>LANGUAGE</tt>: defines the language of output and user confirmations.
al@844 61 <x-details>Note, <tt>LANG</tt> and <tt>LC_ALL</tt> environment variables also affect output
al@844 62 language</x-details></li>
al@844 63 <li><tt>LC_TIME</tt>: defines the date format in the <a href="#activity">activity</a>
al@844 64 command</li>
al@844 65 <li><tt>root</tt>: if defined it points to the root of file system where TazPkg should work.
al@844 66 Note, value defined using <tt>--root=</tt> option has precedence over this environment
al@844 67 variable</li>
al@844 68 </ul>
al@844 69 </section>
al@844 70
al@844 71
al@844 72
al@844 73
al@844 74 <section><header>Files</header>
al@844 75
al@844 76
al@844 77 <article><header>Configuration files</header>
al@844 78
al@844 79 <ul>
al@844 80 <li><tt><a href="file:///etc/slitaz/slitaz.conf"
al@844 81 target="_blank">/etc/slitaz/slitaz.conf</a></tt></li>
al@844 82 <li><tt><a href="file:///etc/slitaz/tazpkg.conf"
al@844 83 target="_blank">/etc/slitaz/tazpkg.conf</a></tt></li>
al@844 84 </ul>
al@844 85 </article>
al@844 86
al@844 87
al@844 88 <article><header>Package database files</header>
al@844 89
al@844 90 <p>Default placement of the package database is <tt>/var/lib/tazpkg</tt>.</p>
al@844 91
al@844 92 <ul>
al@844 93 <li><tt><a href="file:///var/lib/tazpkg/ID" target="_blank">ID</a></tt> (deprecated):
al@844 94 identifier of the current SliTaz repository state.
al@844 95 <x-details>The value changes when new or updated packages appear in the
al@844 96 repository.</x-details></li>
al@844 97 <li><tt><a href="file:///var/lib/tazpkg/IDs" target="_blank">IDs</a></tt>: identifier of the
al@844 98 current SliTaz repository state and the UNIX time stamp.
al@844 99 <x-details>The ID value changes when new or updated packages appear in the repository. Time
al@844 100 stamp allows you to track how long a change is made in the repository and to track the
al@844 101 freshness of repository mirrors. (To convert UNIX time stamp to the date:
al@844 102 <code>date -d@<em>timestamp</em></code>)</x-details></li>
al@844 103 <li><tt><a href="file:///var/lib/tazpkg/mirror" target="_blank">mirror</a></tt>: URL of the
al@844 104 current repository mirror in use.
al@844 105 <x-details>URL points to the remote folder containing packages and database
al@844 106 files.</x-details></li>
al@844 107 <li><tt><a href="file:///var/lib/tazpkg/mirrors" target="_blank">mirrors</a></tt>: list of URLs
al@844 108 of available repository mirrors.
al@844 109 <x-details>Note the difference between URLs from these two files; you should append URL from
al@903 110 this file by <tt>packages/<em>cooking</em>/</tt> (for <tt><em>cooking</em></tt>-based SliTaz
al@844 111 version).</x-details></li>
al@844 112 <li><tt><a href="file:///var/lib/tazpkg/packages.list" target="_blank">packages.list</a></tt>
al@844 113 (deprecated): list of package names with version numbers available in the repository.</li>
al@844 114 <li><tt><a href="file:///var/lib/tazpkg/packages.desc" target="_blank">packages.desc</a></tt>
al@844 115 (deprecated): list contained package name, version, short description, category and upstream
al@844 116 URL.</li>
al@844 117 <li><tt><a href="file:///var/lib/tazpkg/packages.txt" target="_blank">packages.txt</a></tt>
al@844 118 (deprecated): list containing package name, version, short description and two package sizes
al@844 119 <x-details>(first — traffic to download package, second — HDD size for installed
al@844 120 package)</x-details>.</li>
al@844 121 <li><tt><a href="file:///var/lib/tazpkg/packages.md5" target="_blank">packages.md5</a></tt>
al@844 122 (deprecated): list containing MD5 checksum with package file name.</li>
al@844 123 <li><tt><a href="file:///var/lib/tazpkg/packages.info" target="_blank">packages.info</a></tt>:
al@844 124 list was built to replace and extend above lists.
al@844 125 <x-details>For every package available in the repository it contains: package name, version,
al@844 126 category, short description, upstream URL, tags, package sizes, depends and MD5 checksum.
al@844 127 Development continues, and the list can be extended by other fields, if
al@844 128 necessary.</x-details></li>
al@844 129 <li><tt><a href="file:///var/lib/tazpkg/packages.equiv" target="_blank">packages.equiv</a></tt>:
al@844 130 list of equivalent packages available in the repository.
al@844 131 <x-details>Format of the list item: <tt><em>package</em>=<em>rule rule…</em></tt>.<br>
al@844 132 Format of the rule: <tt><em>alternative:newname</em></tt> — if <tt><em>alternative</em></tt>
al@844 133 is installed then <tt><em>newname</em></tt> will be installed instead of the
al@844 134 <tt><em>package</em></tt>.<br>
al@844 135 In the second format of the rule <tt><em>alternative:</em></tt> part is omitted — in this
al@844 136 case <tt><em>newname</em></tt> <em>can be</em> installed instead of the
al@844 137 <tt><em>package</em></tt> (in the user choice).</x-details></li>
al@844 138 <li><tt><a href="file:///var/lib/tazpkg/packages.diff" target="_blank">packages.diff</a></tt>:
al@844 139 list created when you run <tt><a href="#recharge">recharge</a></tt> command.
al@844 140 <x-details>List contains package names with versions of the new packages available in the
al@844 141 repository with the last recharge.</x-details></li>
al@844 142 <li><tt><a href="file:///var/lib/tazpkg/packages.up" target="_blank">packages.up</a></tt>: list
al@844 143 created when you run <tt><a href="#upgrade">upgrade</a></tt> command.
al@844 144 <x-details>List contains package names you can upgrade with the last
al@844 145 recharge.</x-details></li>
al@844 146 <li><tt><a href="file:///var/lib/tazpkg/descriptions.txt"
al@844 147 target="_blank">descriptions.txt</a></tt>: list of the “long” descriptions of the all
al@844 148 packages available on the repository.</li>
al@844 149 <li><tt>packages-desc.<em>language</em></tt> — optional list of the packages translated short
al@844 150 descriptions
al@844 151 <x-details>(see the package tazpkg-desc-ru)</x-details>.</li>
al@844 152 <li><tt>descriptions.<em>language</em>.txt</tt> — optional list of the packages translated
al@844 153 “long” descriptions
al@844 154 <x-details>(see the package tazpkg-desc-ru)</x-details>.</li>
al@844 155 <li><tt>packages.icons</tt> — optional list of the packages icons for TazPanel.</li>
al@844 156 <li><tt><a href="file:///var/lib/tazpkg/blocked-packages.list"
al@844 157 target="_blank">blocked-packages.list</a></tt>: optional list of the packages blocked for
al@844 158 update.</li>
al@844 159 <li><tt><a href="file:///var/lib/tazpkg/extra.list" target="_blank">extra.list</a></tt>: list of
al@844 160 the extra packages
al@844 161 <x-details>(non-free packages; free packages but not compiled from sources). List contains
al@844 162 package name, short description, upstream URL, category, version, license.</x-details></li>
al@844 163 <li><tt>files.list.lzma</tt>: very large compressed list which contains all the files of all the
al@844 164 packages available in the repository
al@844 165 <x-details>(nearly 5,000 packages and nearly 0.7 million files now)</x-details>.</li>
al@844 166 <li><tt>files-list.md5</tt>: MD5 checksum of the <tt>files.list.lzma</tt>.</li>
al@844 167 <li><tt><a href="file:///var/lib/tazpkg/installed.info" target="_blank">installed.info</a></tt>:
al@844 168 list of the installed packages with the exact format of the <tt>packages.info</tt> list.
al@844 169 <x-details>Idea is just to copy list item from <tt>packages.info</tt> to the
al@844 170 <tt>installed.info</tt> during package installation.</x-details></li>
al@844 171 <li><tt><a href="file:///var/lib/tazpkg/installed.md5" target="_blank">installed.md5</a></tt>
al@844 172 (deprecated): list containing MD5 checksum with file names of all installed packages.</li>
al@844 173 <li><tt><a href="file:///var/lib/tazpkg/priority" target="_blank">priority</a></tt>: optional
al@844 174 list of the repositories priority.
al@844 175 <x-details>One repository name per line. Undigest repositories are called by their names and
al@844 176 main repository by “main”. If priority list absent, then default priority is: main
al@844 177 repository and all existing undigest repositories in the alphabetical
al@844 178 order.</x-details></li>
al@844 179 </ul>
al@844 180
al@844 181 <p>All the deprecated files will be deleted after we verify that the programs do not use them (and
al@844 182 modify the programs as necessary).</p>
al@844 183
al@844 184 <p>In addition to the common package database files there is also individual folders for all
al@844 185 installed packages placed by default in the <tt>/var/lib/tazpkg/installed/<em>package</em></tt>.
al@844 186 Every folder here may contain the following files:</p>
al@844 187
al@844 188 <ul>
al@844 189 <li><tt>receipt</tt> (mandatory) — the package recipe</li>
al@844 190 <li><tt>files.list</tt> (mandatory) — list of package files</li>
al@844 191 <li><tt>md5sum</tt> (mandatory) — checksums of package files (other checksum files can be
al@844 192 specified in the settings: <tt>cksum</tt> (CRC32), <tt>md5sum</tt> (MD5), <tt>sha1sum</tt>
al@844 193 (SHA1), <tt>sha256sum</tt> (SHA256), <tt>sha512sum</tt> (SHA512), <tt>sha3sum</tt>
al@844 194 (SHA3-512))</li>
al@844 195 <li><tt>description.txt</tt> (optional) — “long” description</li>
al@844 196 <li><tt>modifiers</tt> (optional) — list of packages that have replaced some of the files of
al@844 197 this package</li>
al@844 198 <li><tt>volatile.cpio.gz</tt> (optional) — archive of “official” configuration files</li>
al@844 199 </ul>
al@844 200 </article>
al@844 201
al@844 202
al@844 203 <article><header>Cache</header>
al@844 204
al@844 205 <p>Default placement of the packages cache is <tt>/var/cache/tazpkg</tt> with sub-folders for the
al@844 206 different repositories.
al@844 207 <x-details>It is exactly <tt>/var/cache/tazpkg/<em>cooking</em>/packages</tt> for the
al@844 208 <tt><em>cooking</em></tt>-based SliTaz version.</x-details></p>
al@844 209 </article>
al@844 210
al@844 211
al@844 212 <article><header>Misc files</header>
al@844 213
al@844 214 <p>File with default placement <tt><a href="file:///var/log/slitaz/tazpkg.log"
al@844 215 target="_blank">/var/log/slitaz/tazpkg.log</a></tt> stores TazPkg activity log.
al@844 216 <x-details>Log stores five types of actions: installing, uninstalling, blocking, unblocking,
al@844 217 reconfiguring packages.</x-details></p>
al@844 218
al@844 219 <p>Shared MIME information which allows to “guess” SliTaz package files, package receipts and SliTaz
al@844 220 flavor files.
al@844 221 <x-details>File placed here: <tt><a href="file:///usr/share/mime/packages/tazpkg.xml"
al@844 222 target="_blank">/usr/share/mime/packages/tazpkg.xml</a></tt>.</x-details></p>
al@844 223
al@844 224 <p>Plug-in for the TazPanel (SliTaz administration and configuration panel)
al@844 225 <tt>/var/www/tazpanel/pkgs.cgi</tt> allows you to manage SliTaz packages in the
al@844 226 <a href="http://127.0.0.1:82/pkgs.cgi" target="_blank">web application</a>.</p>
al@844 227
al@844 228 <p>TazPkg documentation is placed in the <tt>/usr/share/doc/tazpkg</tt> folder.</p>
al@844 229 </article>
al@844 230 </section>
al@844 231
al@844 232
al@844 233
al@844 234
al@844 235 <section><header>Comandos</header>
al@844 236
al@844 237 <p>The first <tt>tazpkg</tt> parameter is a command followed by other mandatory and optional
al@844 238 parameters as will be described hereinafter. Options begin with double dashes, you can arrange them
al@844 239 in any order and in any place, even before the command. Unknown and inappropriate options are
al@844 240 ignored. The following commands are equivalent:</p>
al@844 241
al@844 242 <pre>
al@844 243 $ tazpkg info nano --root=<em>/mnt/sda6</em>
al@844 244 $ tazpkg --root=<em>/mnt/sda6</em> info nano
al@844 245 $ tazpkg info --root=<em>/mnt/sda6</em> nano <em>--color</em>
pankso@670 246 </pre>
pankso@670 247
al@844 248 <p>You can add global option <tt>--root=…</tt> to any TazPkg command. This option allows to work
al@844 249 with other SliTaz installations. Option points to the root of mounted file system from other SliTaz
al@844 250 installation.
al@844 251 <x-details>By the way, using this option allows to install SliTaz to the other file system “from
al@844 252 scratch”, and upgrade SliTaz packages remotely.</x-details></p>
pankso@670 253
pankso@670 254
al@844 255 <article><header>Service commands</header>
al@811 256
al@811 257 <ul>
al@811 258 <li><a href="#usage">usage</a>: imprime este uso corto</li>
al@811 259 <li><a href="#help">help</a>: show help on the TazPkg commands</li>
al@811 260 <li><a href="#activity">activity</a>: show TazPkg activity log</li>
al@844 261 <li><a href="#clean-cache">clean-cache</a>: clean all packages downloaded in cache
al@844 262 directory</li>
al@866 263 <li><a href="#list-cache">list-cache</a>: list all packages downloaded in cache
al@866 264 directory</li>
al@811 265 <li><a href="#shell">shell</a>: run interactive TazPkg shell</li>
al@811 266 </ul>
al@844 267 </article>
al@811 268
al@811 269
al@844 270 <article><header>Working with lists</header>
al@811 271
al@811 272 <ul>
al@844 273 <li><a href="#list">list</a>: lista de paquetes instalados en el sistema</li>
al@844 274 <li><a href="#list-mirror">list-mirror</a>: Lista de todos los paquetes disponibles en el
al@844 275 espejo</li>
al@844 276 <li><a href="#list-config">list-config</a>: lista de archivos de configuración</li>
al@811 277 </ul>
al@844 278 </article>
al@811 279
al@811 280
al@844 281 <article><header>Search</header>
al@811 282
al@811 283 <ul>
al@844 284 <li><a href="#search">search</a>: búsqueda de paquetes por patrón o nombre</li>
al@844 285 <li><a href="#search-pkgname">search-pkgname</a>: buscar en el espejo un paquete que tenga un
al@844 286 archivo particular</li>
al@844 287 <li><a href="#search-file">search-file</a>: búsqueda de archivos en los archivos de todos los
al@844 288 paquetes instalados</li>
al@811 289 </ul>
al@844 290 </article>
al@811 291
al@811 292
al@844 293 <article><header>Installing and removing packages</header>
al@811 294
al@811 295 <ul>
al@844 296 <li><a href="#get">get</a>: download a package into the current directory</li>
al@811 297 <li><a href="#install">install</a>: instala un local paquete</li>
al@844 298 <li><a href="#get-install">get-install</a>: download and install a package from the mirror</li>
al@844 299 <li><a href="#install-list">install-list</a>: install all packages from a list of packages</li>
al@844 300 <li><a href="#install-list">get-install-list</a>: download and install a list of packages from
al@844 301 the mirror</li>
al@844 302 <li><a href="#remove">remove</a>: remover los paquetes especificados y todos los archivos
al@844 303 instalados</li>
al@844 304 <li><a href="#reconfigure">reconfigure</a>: replay post install script from package</li>
al@844 305 <li><a href="#link">link</a>: link a package from another SliTaz installation</li>
al@844 306 <li><a href="#set-release">set-release</a>: change release and update packages</li>
al@844 307 <li><a href="#add-flavor">add-flavor</a>: install the flavor list of packages</li>
al@844 308 <li><a href="#add-flavor">install-flavor</a>: install the flavor list of packages and remove
al@844 309 other ones</li>
al@811 310 </ul>
al@844 311 </article>
al@811 312
al@811 313
al@844 314 <article><header>Working with packages</header>
al@811 315
al@811 316 <ul>
al@811 317 <li><a href="#info">info</a>: imprima información sobre el paquete</li>
al@811 318 <li><a href="#desc">desc</a>: imprima la descripción del paquete</li>
al@844 319 <li><a href="#list-files">list-files</a>: lista de archivos instalados con un paquete</li>
al@844 320 <li><a href="#block">block, unblock</a>: block an installed package version or unblock it for
al@844 321 upgrade</li>
al@844 322 <li><a href="#check">check</a>: verify consistency of installed packages</li>
al@811 323 <li><a href="#bugs">bugs</a>: muestra conocidos bugs en paquetes</li>
al@811 324 <li><a href="#depends">depends</a>: display dependencies tree</li>
al@811 325 <li><a href="#depends">rdepends</a>: display reverse dependencies tree</li>
al@844 326 <li><a href="#extract">extract</a>: extrae un (*.tazpkg) paquete en el directorio</li>
al@844 327 <li><a href="#pack">pack</a>: empaquetar una desempaquetado o preparar un árbol de paquetes</li>
al@844 328 <li><a href="#repack">repack</a>: create a package archive from an installed package</li>
al@844 329 <li><a href="#repack-config">repack-config</a>: create a package archive with configuration
al@844 330 files</li>
al@844 331 <li><a href="#recompress">recompress</a>: rebuild a package with a better compression ratio</li>
al@811 332 <li><a href="#convert">convert</a>: convert alien package to tazpkg</li>
al@844 333 <li><a href="#list-suggested">list-suggested</a>: print list of suggested packages</li>
al@811 334 </ul>
al@844 335 </article>
al@811 336
al@811 337
al@844 338 <article><header>Working with repositories</header>
al@811 339
al@811 340 <ul>
al@844 341 <li><a href="#recharge">recharge</a>: recharge your packages database from the mirror</li>
al@844 342 <li><a href="#upgrade">upgrade</a>: comprobar paquetes md5sum para listar e instalar las últimas
al@844 343 mejoras</li>
al@844 344 <li><a href="#setup-mirror">setup-mirror</a>: change the mirror URL configuration</li>
al@844 345 <li><a href="#add-undigest">setup-undigest</a>: update an undigest mirror</li>
al@811 346 <li><a href="#list-undigest">list-undigest</a>: list undigest mirrors</li>
al@811 347 <li><a href="#add-undigest">add-undigest</a>: add an undigest mirror</li>
al@844 348 <li><a href="#remove-undigest">remove-undigest</a>: remove an undigest mirror</li>
al@811 349 </ul>
al@844 350 </article>
al@844 351 </section>
al@811 352
al@811 353
al@811 354
al@811 355
al@844 356 <section><header>Service commands</header>
al@811 357
al@811 358
al@844 359 <article id="usage"><h3>usage</h3>
al@811 360
al@811 361 <p>Show the full list of the TazPkg commands with a brief description.</p>
al@811 362
al@811 363 <pre>
al@811 364 $ tazpkg usage
al@811 365 $ tazpkg
al@811 366 </pre>
al@844 367 </article>
al@811 368
al@811 369
al@844 370 <article id="help"><h3>help</h3>
al@811 371
al@844 372 <p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can enter a short name
al@844 373 of the command, the full name or a part of the full name. You can ignore hyphens at the beginning of
al@844 374 the short name. If the requested part of the full name match the several commands, you will be asked
al@844 375 to clarify the request.</p>
al@811 376
al@811 377 <pre>
al@811 378 $ tazpkg help <em>-gi</em>
al@811 379 $ tazpkg -h <em>us</em>
al@811 380 </pre>
al@844 381 </article>
al@811 382
al@811 383
al@844 384 <article id="activity"><h3>activity</h3>
al@811 385
al@844 386 <p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or <tt>-a</tt>). Optional
al@844 387 parameter <tt>--nb=</tt> lets you set number of displayed lines.</p>
al@811 388
al@811 389 <pre>
al@811 390 $ tazpkg activity
al@811 391 $ tazpkg -a --nb=<em>20</em>
al@811 392 </pre>
al@844 393 </article>
al@811 394
al@811 395
al@844 396 <article id="clean-cache"><h3>clean-cache</h3>
al@811 397
al@844 398 <p>Borra los paquetes *.tazpkg descargados en la cache (<tt>clean-cache</tt> o <tt>-cc</tt>).
al@844 399 Durante la instalación, TazPkg guarda una copia de paquetes descargados desde la web. Esto se hace
al@844 400 para ahorrar ancho de banda en caso de reinstalación, pero también puedes querer liberar espacio en
al@844 401 el disco duro o recargar los paquetes.</p>
al@811 402
al@811 403 <pre>
al@811 404 # tazpkg clean-cache
al@811 405 # tazpkg -cc
al@811 406 </pre>
al@844 407 </article>
al@811 408
al@811 409
al@866 410 <article id="list-cache"><h3>list-cache</h3>
al@866 411
al@866 412 <p>List *.tazpkg packages downloaded to the cache. Displays a list of file names and their sizes,
al@866 413 as well as the total amount and size.</p>
al@866 414
al@866 415 <pre>
al@866 416 # tazpkg list-cache
al@866 417 </pre>
al@866 418 </article>
al@866 419
al@866 420
al@844 421 <article id="shell"><h3>shell</h3>
al@811 422
al@844 423 <p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands listed above.</p>
al@811 424
al@811 425 <pre>
al@811 426 $ tazpkg shell
al@811 427 # tazpkg shell
al@811 428 </pre>
al@844 429 </article>
al@844 430 </section>
al@811 431
al@811 432
al@811 433
al@811 434
al@844 435 <section><header>Working with lists</header>
al@811 436
al@811 437
al@844 438 <article id="list"><h3>list</h3>
pankso@670 439
al@844 440 <p>Lista los paquetes instalados en el sistema (<tt>list</tt> o <tt>-l</tt>). Este comando muestra
al@844 441 la lista de todos los paquetes instalados. También permite mostrar la lista de categorías
al@844 442 (<tt>c</tt> o <tt>cat</tt> o <tt>categories</tt>), los paquetes correspondientes a una categoría y
al@844 443 los paquetes bloqueados (<tt>b</tt> o <tt>blocked</tt>). Además puedes usar el comando <tt><a
al@844 444 href="#search">search</a></tt> para mostrar una lista basada en un término o en el nombre de un
al@844 445 paquete.</p>
al@811 446
pankso@670 447 <pre>
al@811 448 $ tazpkg list
al@811 449 $ tazpkg list cat
al@811 450 $ tazpkg list <em>games</em>
al@811 451 $ tazpkg list <em>juegos</em>
al@811 452 $ tazpkg list blocked
pankso@670 453 </pre>
al@844 454 </article>
pankso@670 455
pankso@670 456
al@844 457 <article id="list-mirror"><h3>list-mirror</h3>
pankso@670 458
al@844 459 <p>Lista los paquetes disponibles en el espejo (<tt>list-mirror</tt> o <tt>-lm</tt>). Este comando
al@844 460 mostrara el paquetes lista recargado desde el espejo. Si este no existe, se te requerirá ejecutar
al@844 461 <code>tazpkg <a href="#recharge">recharge</a></code> como administrador (root) para ver la lista de
al@844 462 paquetes disponibles. La opción <tt>--diff</tt> se usa para mostrar las diferencias entre la ultima
al@844 463 lista de paquetes y la actual.</p>
al@811 464
pankso@670 465 <pre>
al@811 466 $ tazpkg list-mirror
al@811 467 $ tazpkg -lm --diff
pankso@670 468 </pre>
al@844 469 </article>
pankso@670 470
pankso@670 471
al@844 472 <article id="list-config"><h3>list-config</h3>
pankso@670 473
al@844 474 <p>Lista los archivos de configuración del sistema. La opción <tt>--box</tt> muestra la lista en
al@844 475 formato tabla. You can specify package name to display configuration files only for this
al@844 476 package.</p>
al@811 477
pankso@670 478 <pre>
al@811 479 $ tazpkg list-config
al@811 480 $ tazpkg list-config --box
al@811 481 $ tazpkg list-config <em>slim</em>
al@844 482 $ tazpkg list-config <em>slim</em> --box
pankso@670 483 </pre>
al@844 484 </article>
al@844 485 </section>
pankso@670 486
pankso@670 487
pankso@670 488
al@811 489
al@844 490 <section><header>Search</header>
pankso@670 491
pankso@670 492
al@844 493 <article id="search"><h3>search</h3>
pankso@670 494
al@844 495 <p>Busca paquetes por propietario o por el nombre del paquete (<tt>search</tt> o <tt>-s</tt>). Este
al@844 496 comando buscará el termino requerido en los paquetes instalados (<tt>-i</tt> o <tt>--installed</tt>)
al@844 497 y en la lista de paquetes disponibles en el espejo (<tt>-l</tt> o <tt>--list</tt>).</p>
al@844 498
al@844 499 <p>Para obtener la última lista de paquetes instalables en el espejo, solo hay que ejecutar
al@844 500 <code>tazpkg recharge</code> antes de la realización de la búsqueda.</p>
al@811 501
pankso@670 502 <pre>
al@811 503 $ tazpkg search <em>gcc</em>
al@811 504 $ tazpkg search <em>mt</em> -i
al@811 505 $ tazpkg search <em>bit</em> -l
al@811 506 </pre>
al@844 507 </article>
al@811 508
al@811 509
al@844 510 <article id="search-pkgname"><h3>search-pkgname</h3>
al@811 511
al@844 512 <p>Search for a file on mirror and output only the packages names (<tt>search-pkgname</tt> or
al@844 513 <tt>-sp</tt>).</p>
al@811 514
al@811 515 <pre>
al@811 516 $ tazpkg search-pkgname <em>libnss</em>
al@811 517 $ tazpkg -sp <em>/usr/share/fonts</em>
pankso@670 518 </pre>
al@844 519 </article>
pankso@670 520
pankso@670 521
al@844 522 <article id="search-file"><h3>search-file</h3>
pankso@670 523
al@844 524 <p>Buscar un archivo entre los archivos instalados por los paquetes (<tt>search-file</tt> o
al@844 525 <tt>-sf</tt>). Este comando es muy útil para saber la ruta completa de un archivo y determinar si un
al@844 526 archivo esta presente en el sistema. Option <tt>--mirror</tt> allows to search for a file among all
al@844 527 the files available on the mirror.</p>
al@811 528
pankso@670 529 <pre>
al@811 530 $ tazpkg search-file <em>libnss</em>
al@811 531 $ tazpkg -sf <em>/usr/share/fonts</em> --mirror
al@811 532 </pre>
al@844 533 </article>
al@844 534 </section>
al@811 535
al@811 536
al@811 537
al@811 538
al@844 539 <section><header>Installing and removing packages</header>
al@811 540
al@811 541
al@844 542 <article id="get"><h3>get</h3>
al@811 543
al@844 544 <p>Descargar un paquete desde el espejo (<tt>get</tt> o <tt>-g</tt>). El paquete descargado es
al@844 545 almacenado en el directorio actual. Para encontrar la ruta puedes usar <code>pwd</code>.</p>
al@811 546
al@811 547 <pre>
al@811 548 # tazpkg get <em>grub</em>
al@811 549 # tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
pankso@670 550 </pre>
al@844 551 </article>
pankso@670 552
pankso@670 553
al@844 554 <article id="install"><h3>install</h3>
pankso@670 555
al@844 556 <p>Este comando te permite instalar un paquete local con la extensión <tt>.tazpkg</tt>
al@844 557 (<tt>install</tt> o <tt>-i</tt>). Ver <tt><a href="#get-install">get-install</a></tt> para instalar
al@844 558 un paquete desde internet. Tenga en cuenta que puede forzar la instalación con las opciones
al@844 559 <tt>--forced</tt>. Option <tt>--newconf</tt> allows you to rewrite all user configuration files
al@844 560 using the new files from package. Option <tt>--nodeps</tt> allows you to install only a specified
al@844 561 package without its dependencies.</p>
al@811 562
pankso@670 563 <pre>
al@811 564 # tazpkg install <em>paquete-1.0.tazpkg</em>
al@844 565 # tazpkg install <em>ruta/al/paquete-1.0.tazpkg</em> --forced
al@844 566 # tazpkg install <em>ruta/al/paquete-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
pankso@670 567 </pre>
al@844 568 </article>
pankso@670 569
pankso@670 570
al@844 571 <article id="get-install"><h3>get-install</h3>
al@811 572
al@844 573 <p>Descargar e instalar un paquete desde un espejo en internet (<tt>get-install</tt> o
al@844 574 <tt>-gi</tt>). El comando empieza comprobando si el paquete existe en el espejo y si ya ha sido
al@844 575 descargado. Para ver la lista de paquetes en el espejo, tenemos que usar el comando <tt><a
al@844 576 href="#list-mirror">list-mirror</a></tt>. Note that you can force the installation via the
al@844 577 <tt>--forced</tt> option. Option <tt>--newconf</tt> allows you to rewrite all user configuration
al@844 578 files using the new files from a package. Option <tt>--nodeps</tt> allows you to install only a
al@844 579 specified package without its dependencies.</p>
al@811 580
pankso@670 581 <pre>
al@811 582 # tazpkg get-install <em>grub</em>
al@811 583 # tazpkg -gi <em>grub</em> --forced
al@811 584 # tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
al@811 585 </pre>
al@844 586 </article>
al@811 587
al@811 588
al@844 589 <article id="install-list"><h3>install-list, get-install-list</h3>
al@811 590
al@844 591 <p>Instala un conjunto de paquetes listados en un archivo. Este comando te permite (descargar e)
al@844 592 instalar varios paquetes con un solo comando y también puede ser forzado.</p>
al@811 593
al@811 594 <pre>
al@844 595 # tazpkg install-list <em>mis-paquetes.lista</em>
al@844 596 # tazpkg get-install-list <em>mis-paquetes.lista</em> --forced
al@811 597 </pre>
al@844 598 </article>
al@811 599
al@811 600
al@844 601 <article id="remove"><h3>remove</h3>
al@811 602
al@844 603 <p>Borra un paquete (<tt>remove</tt> o <tt>-r</tt>). Se te preguntará para confirmar (s/N) of
al@844 604 removing the package, as well as for removing packages depending on this package, and for
al@844 605 reinstalling packages modified by this package. Este comando borrará todos los archivos instalados
al@844 606 con el paquete.</p>
al@844 607
al@844 608 <p>Option <tt>--auto</tt> removes and reinstalls packages without your confirmation.</p>
al@811 609
al@811 610 <pre>
al@811 611 # tazpkg remove <em>bc</em>
al@811 612 # tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
al@811 613 # tazpkg -r <em>nano</em> --auto
al@811 614 </pre>
al@844 615 </article>
al@811 616
al@811 617
al@844 618 <article id="reconfigure"><h3>reconfigure</h3>
al@811 619
al@811 620 <p>Vuelve a reproducir el script de post-instalación del paquete.</p>
al@811 621
al@811 622 <pre>
al@811 623 # tazpkg reconfigure <em>gcc</em>
al@811 624 # tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
pankso@670 625 </pre>
al@844 626 </article>
pankso@670 627
pankso@670 628
al@844 629 <article id="link"><h3>link</h3>
pankso@670 630
al@844 631 <p>Este comando te permite la instalación de un paquete desde otro dispositivo. La instalación se
al@844 632 hace por medio de enlaces simbólicos y consume muy poca memoria. Es generalmente usada dentro del
al@844 633 sistema RAM para instalar add-ons (extensiones) desde USB.</p>
al@811 634
pankso@670 635 <pre>
pankso@670 636 # tazpkg link <em>openoffice /media/usbdisk</em>
pankso@670 637 </pre>
al@844 638 </article>
pankso@670 639
pankso@670 640
al@844 641 <article id="set-release"><h3>set-release</h3>
pankso@670 642
al@844 643 <p>El comando cambia la versión actual y actualiza todos los paquetes a la última versión.</p>
al@811 644
pankso@670 645 <pre>
al@811 646 # tazpkg set-release <em>cooking</em>
pankso@670 647 </pre>
al@844 648 </article>
pankso@670 649
pankso@670 650
al@844 651 <article id="add-flavor"><h3>add-flavor, install-flavor</h3>
pankso@670 652
al@844 653 <p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt> purges other
al@844 654 installed packages.</p>
al@811 655
pankso@670 656 <pre>
al@811 657 # tazpkg add-flavor <em>gtkonly</em>
al@811 658 # tazpkg install-flavor <em>justx</em>
pankso@670 659 </pre>
al@844 660 </article>
al@844 661 </section>
pankso@670 662
pankso@670 663
pankso@670 664
al@811 665
al@844 666 <section><header>Working with packages</header>
al@811 667
al@811 668
al@844 669 <article id="info"><h3>info</h3>
al@811 670
al@844 671 <p>Muestra cualquier información disponible en el fichero de recibo del paquete en cuestión, como su
al@844 672 versión, categoría, mantenedor, página web y dependencias (véase también <a
al@844 673 href="../cookutils/cookutils.en.html" target="_blank">Cookutils</a> para más información sobre los
al@844 674 ficheros de recibo).</p>
al@811 675
pankso@670 676 <pre>
al@811 677 $ tazpkg info <em>busybox</em>
pankso@670 678 </pre>
al@844 679 </article>
pankso@670 680
pankso@670 681
al@844 682 <article id="desc"><h3>desc</h3>
pankso@670 683
al@844 684 <p>Descripción del paquete (<tt>desc</tt> or <tt>-d</tt>).</p>
al@811 685
pankso@670 686 <pre>
al@811 687 $ tazpkg desc <em>busybox</em>
pankso@670 688 </pre>
al@844 689 </article>
pankso@670 690
pankso@670 691
al@844 692 <article id="list-files"><h3>list-files</h3>
pankso@670 693
al@844 694 <p>Lista todos los archivos instalados con un paquete (<tt>list-files</tt> o <tt>-lf</tt>). Este
al@844 695 comando simplemente lee y muestra el archivo <tt>files.list</tt> de cada paquete que se genera
al@844 696 automáticamente cuando el paquete es creado y también se usa para borrar los archivos cuando se
al@844 697 desinstala un paquete.</p>
al@811 698
pankso@670 699 <pre>
al@811 700 $ tazpkg list-files <em>bc</em>
pankso@670 701 </pre>
al@844 702 </article>
pankso@670 703
pankso@670 704
al@844 705 <article id="block"><h3>block, unblock, chblock</h3>
pankso@670 706
al@844 707 <p>Los comandos <tt>block</tt> (o <tt>-b</tt>) y <tt>unblock</tt> (o <tt>-u</tt>) te permiten
al@844 708 bloquear versiones de paquetes instalados asi ya no estarán mantenidos por
al@844 709 <tt><a href="#upgrade">upgrade</a></tt>. Command <tt>chblock</tt> changes the blocking state of the
al@844 710 package. La lista de paquetes en espera se encuentra en
al@844 711 <tt>/var/lib/tazpkg/blocked-packages.list</tt>. Este archivo puede ser editado manualmente.</p>
al@811 712
pankso@670 713 <pre>
al@811 714 # tazpkg block <em>grub</em>
al@811 715 # tazpkg unblock <em>grub</em>
al@811 716 # tazpkg chblock <em>grub</em>
pankso@670 717 </pre>
al@844 718 </article>
pankso@670 719
pankso@670 720
al@844 721 <article id="check"><h3>check</h3>
pankso@670 722
al@844 723 <p>Comprobar las dependencias en paquetes instalados y determinar si todos los archivos necesarios
al@844 724 para reempacar paquetes están presentes. You can specify package name to check or check all
al@844 725 installed packages. Option <tt>--full</tt> makes few more checks and need more time.</p>
al@811 726
pankso@670 727 <pre>
al@811 728 $ tazpkg check
al@811 729 $ tazpkg check --full
al@811 730 $ tazpkg check <em>nano</em>
al@811 731 $ tazpkg check <em>sakura</em> --full
pankso@670 732 </pre>
al@844 733 </article>
pankso@670 734
pankso@670 735
al@844 736 <article id="bugs"><h3>bugs</h3>
pankso@670 737
al@844 738 <p>Genera una lista de los errores (bugs) conocidos de los paquetes. You can specify a single
al@844 739 package to show bugs.</p>
al@811 740
pankso@670 741 <pre>
al@811 742 $ tazpkg bugs
al@844 743 $ tazpkg bugs <em>nano</em>
pankso@670 744 </pre>
al@844 745 </article>
pankso@670 746
pankso@670 747
al@844 748 <article id="depends"><h3>depends, rdepends</h3>
pankso@670 749
al@844 750 <p>Muestra un árbol de dependencias o un árbol de dependencias invertido para un paquete.</p>
al@844 751
al@844 752 <p>For <code>depends</code> command: option <tt>--mark</tt> marks installed packages with plus sign
al@844 753 and not installed with a minus/dash. Option <tt>--total</tt> calculates the number of displayed
al@844 754 packages and their size. Also, with both options at a time you'll get the number and size of
al@844 755 packages to be installed.</p>
al@844 756
al@844 757 <p>For <code>rdepends</code> command: without the <tt>--all</tt> option you'll get the list of only
al@844 758 installed reverse dependency packages, with this option — a list of all available packages. Option
al@844 759 <tt>--mark</tt> marks packages as in the <code>depends</code> command.</p>
pankso@670 760
pankso@670 761 <pre>
pankso@670 762 # tazpkg depends <em>mpd</em>
pankso@670 763 # tazpkg rdepends <em>mpd</em>
pankso@670 764 </pre>
al@844 765 </article>
pankso@670 766
pankso@670 767
al@844 768 <article id="extract"><h3>extract</h3>
pankso@670 769
al@844 770 <p>Extrae un paquete en un directorio (<tt>extract</tt> or <tt>-e</tt>). Si no especificas el
al@844 771 directorio de destino, el paquete se extraerá en el directorio actual usando el nombre
al@844 772 <tt><em>paquete-version</em></tt>.</p>
al@811 773
al@811 774 <pre>
al@811 775 $ tazpkg extract <em>paquete.tazpkg</em>
al@811 776 $ tazpkg extract <em>paquete.tazpkg target/dir</em>
al@811 777 </pre>
al@844 778 </article>
al@811 779
al@811 780
al@844 781 <article id="pack"><h3>pack</h3>
al@811 782
al@844 783 <p>Crea un paquete desde un directorio preparado de antemano o desde un paquete desempaquetado.
al@844 784 También puede crear manualmente un paquete <tt>.tazpkg</tt> (ver la documentación de <a
al@844 785 href="../cookutils/cookutils.en.html" target="_blank">Cookutils</a> para la creación automática de
al@844 786 paquetes).</p>
al@811 787
al@811 788 <pre>
al@811 789 # tazpkg pack <em>paquete-version</em>
al@811 790 </pre>
al@844 791 </article>
al@811 792
al@811 793
al@844 794 <article id="repack"><h3>repack</h3>
al@811 795
al@844 796 <p>Recrear un paquete desde los archivos en el sistema donde fue previamente instalado.</p>
al@811 797
al@811 798 <pre>
al@844 799 # tazpkg repack <tt>paquete</tt>
al@811 800 </pre>
al@844 801 </article>
al@811 802
al@811 803
al@844 804 <article id="repack-config"><h3>repack-config</h3>
al@811 805
al@844 806 <p>Recrea un paquete de archivos de configuración del sistema (ver <tt><a
al@844 807 href="#list-config">list-config</a></tt>). Es suficiente instalar el paquete para encontrar la
al@844 808 configuración actual.</p>
al@811 809
al@811 810 <pre>
al@811 811 # tazpkg repack-config
al@811 812 </pre>
al@844 813 </article>
al@811 814
al@811 815
al@844 816 <article id="recompress"><h3>recompress</h3>
al@811 817
al@811 818 <p>Recompress .tazpkg cpio archive with lzma.</p>
al@811 819
al@811 820 <pre>
al@811 821 $ tazpkg recompress <em>paquete.tazpkg</em>
al@811 822 </pre>
al@844 823 </article>
al@811 824
al@811 825
al@844 826 <article id="convert"><h3>convert</h3>
al@811 827
al@903 828 <p>Convierte los paquetes en paquetes SliTaz (<tt>.tazpkg</tt>) (<tt>convert</tt> o
al@844 829 <tt>-c</tt>).</p>
al@811 830
al@811 831 <p>Supported packages formats:</p>
al@811 832
al@811 833 <ul>
al@844 834 <li><a href="https://packages.debian.org/search" target="_blank">paquetes Debian</a>
al@844 835 (<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
al@844 836 <li><a href="http://rpmfind.net/linux/rpm2html/search.php" target="_blank">paquetes RPM</a>
al@844 837 (<tt>*.rpm</tt>)</li>
al@844 838 <li><a href="http://www.slax.org/" target="_blank">paquetes Slax</a> (<tt>*.sb</tt>)</li>
al@844 839 <li><a href="http://puppylinux.org/" target="_blank">paquetes Puppy</a> (<tt>*.sfs</tt>,
al@844 840 <tt>*.pet</tt>)</li>
al@844 841 <li><a href="http://www.slackware.com/packages/" target="_blank">paquetes Slackware</a>
al@844 842 (<tt>*.tgz</tt>)</li>
al@811 843 <li><a href="http://www.nutyx.org/" target="_blank">paquetes NuTyX</a>
al@811 844 (<tt>*.cards.tar.xz</tt>)</li>
al@844 845 <li><a href="https://www.archlinux.org/packages/" target="_blank">paquetes Arch Linux</a> / <a
al@844 846 href="http://pkgs.alpinelinux.org/packages" target="_blank">Alpine Linux</a>
al@844 847 (<tt>*.apk</tt>, <tt>*.pkg.tar.gz</tt>, <tt>*.pkg.tar.xz</tt>)</li>
al@844 848 <li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">paquetes OpenWrt</a>
al@844 849 (<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
al@844 850 <li><a href="http://0.tuxfamily.org/doku.php/paquets/start" target="_blank">paquetes 0Linux</a>
al@844 851 (<tt>*.spack</tt>)</li>
al@844 852 <li><a href="http://www.paldo.org/index-section-packages.html" target="_blank">paquetes
al@844 853 paldo</a> (<tt>*.tar.bz2</tt>)</li>
al@844 854 <li><a href="http://www.voidlinux.eu/packages/" target="_blank">paquetes Void</a>
al@844 855 (<tt>*.xbps</tt>)</li>
al@844 856 <li><a href="http://tinycorelinux.net/" target="_blank">paquetes Tinycore</a> (<tt>*.tce</tt>,
al@844 857 <tt>*.tcel</tt>, <tt>*.tcem</tt>, <tt>*.tcz</tt>)</li>
al@811 858 </ul>
al@811 859
al@811 860 <pre>
al@811 861 # tazpkg convert <em>alien-paquete</em>
al@811 862 </pre>
al@844 863 </article>
al@811 864
al@811 865
al@844 866 <article id="list-suggested"><h3>list-suggested</h3>
al@811 867
al@844 868 <p>List suggested packages for each of your installed packages. With option <tt>--all</tt> it shows
al@844 869 all suggested packages, and without option it shows only not installed suggested packages.</p>
al@811 870
al@811 871 <pre>
al@811 872 $ tazpkg list-suggested
al@811 873 $ tazpkg list-suggested --all
al@811 874 </pre>
al@844 875 </article>
al@844 876 </section>
al@811 877
al@811 878
al@811 879
al@811 880
al@844 881 <section><header>Working with repositories</header>
al@811 882
al@811 883
al@844 884 <article id="recharge"><h3>recharge</h3>
al@811 885
al@844 886 <p>Recarga la lista de los paquetes disponibles en el espejo. Este comando descargará el packages
al@844 887 database más reciente con la lista de paquetes disponibles en el espejo y antes de empezar guardará
al@844 888 una copia de la database antigua. Una vez actualizada la DB, puedes usar los comandos <tt><a
al@844 889 href="#list">list</a></tt> y <tt><a href="#search">search</a></tt>. Para ver y listar las
al@844 890 diferencias, puedes usar <code>list-mirror --diff</code>; y para ver y actualizar paquetes, puedes
al@844 891 usar el comando <tt><a href="#upgrade">upgrade</a></tt>.</p>
al@844 892
al@844 893 <p>Command without options will recharge databases of all your repositories. You can specify the
al@844 894 repository to be recharged: “main” for main repo, or undigest repository name.</p>
al@811 895
al@811 896 <pre>
al@811 897 # tazpkg recharge
al@811 898 # tazpkg recharge main
al@811 899 # tazpkg recharge <em>My_Undigest</em>
al@811 900 # tazpkg recharge --root=<em>/mnt/sda6</em>
al@811 901 </pre>
al@844 902 </article>
al@811 903
al@811 904
al@844 905 <article id="upgrade"><h3>upgrade</h3>
al@811 906
al@844 907 <p>Upgrade te permite actualizar todos los paquetes instalados disponibles en el espejo actual
al@844 908 (<tt>upgrade</tt> or <tt>up</tt>). Actualizar paquetes es una parte importante de la seguridad del
al@844 909 sistema, ayuda a mantenerte seguro con las ultimas actualizaciones y correcciones. El proyecto
al@844 910 SliTaz, aunque sea pequeño, proporciona actualizaciones regulares de seguridad y en general ofrece
al@844 911 las ultimas versiones de software. Tenga en cuenta que esta función esta dirigida a la gente con
al@844 912 SliTaz instalado en su disco duro. Los paquetes actualizados en el modo Live CD se perderán al
al@844 913 apagar el sistema.</p>
al@844 914
al@844 915 <p>At the beginning the packages database is updated automatically (<tt><a
al@844 916 href="#recharge">recharge</a></tt>) in order to provide you with the current list of packages that
al@844 917 you can update.</p>
al@844 918
al@844 919 <p>Without options it runs in interactive mode and asks before install. You can specify one of the
al@844 920 next options: <tt>-c</tt> or <tt>--check</tt> to check only for available upgrades; <tt>-i</tt> or
al@844 921 <tt>--install</tt> to check for upgrades and install them all.</p>
al@811 922
al@811 923 <pre>
al@811 924 # tazpkg upgrade
al@844 925 # tazpkg up --check
al@844 926 # tazpkg up -i
al@811 927 </pre>
al@844 928 </article>
al@811 929
al@811 930
al@844 931 <article id="setup-mirror"><h3>setup-mirror</h3>
al@811 932
al@844 933 <p>Configura la dirección URL del espejo (<tt>setup-mirror</tt> o <tt>-sm</tt>). El comando te
al@844 934 preguntará la dirección URL del nuevo espejo. Tenga en cuenta que también puede modificar el archivo
al@844 935 principal <tt>/var/lib/tazpkg/mirror</tt>. La dirección URL tiene que indicar el directorio que
al@844 936 contiene el archivo <tt>packages.info</tt> y los paquetes.</p>
al@811 937
al@811 938 <pre>
al@811 939 # tazpkg setup-mirror
al@811 940 </pre>
al@844 941 </article>
al@811 942
al@811 943
al@844 944 <article id="add-undigest"><h3>add-undigest, setup-undigest</h3>
al@811 945
al@844 946 <p>Establece la dirección URL de un espejo adicional no oficial para probar paquetes que todavía no
al@844 947 están presentes en los espejos oficiales. Tenga en cuenta que también puede editar manualmente el
al@844 948 archivo en <tt>/var/lib/tazpkg/undigest/<em>repository</em></tt>. La dirección URL tiene que indicar
al@844 949 el directorio que contiene los paquetes y el archivo <tt>packages.info</tt>.</p>
al@811 950
pankso@670 951 <pre>
pankso@670 952 # tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
pankso@670 953 # tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em>
pankso@670 954 </pre>
al@844 955 </article>
pankso@670 956
pankso@670 957
al@844 958 <article id="list-undigest"><h3>list-undigest</h3>
al@811 959
al@844 960 <p>Lista espejos no oficiales (undigest) adicionales. Option <tt>--box</tt> will output list in the
al@844 961 table form.</p>
al@811 962
al@811 963 <pre>
al@811 964 # tazpkg list-undigest
al@811 965 # tazpkg list-undigest --box
al@811 966 </pre>
al@844 967 </article>
al@811 968
al@811 969
al@844 970 <article id="remove-undigest"><h3>remove-undigest</h3>
pankso@670 971
al@844 972 <p>Borra la dirección de un espejo no oficial (undigest). You will be asked for confirmation.</p>
al@811 973
pankso@670 974 <pre>
pankso@670 975 # tazpkg remove-undigest <em>my-repository</em>
pankso@670 976 </pre>
al@844 977 </article>
al@844 978 </section>
pankso@670 979
pankso@670 980
pankso@670 981
pankso@670 982
al@844 983 <section><header>Encargado de mantenimiento</header>
al@811 984
al@811 985 <p>Christophe Lincoln &lt;pankso en slitaz.org&gt;</p>
al@844 986 </section>
pankso@670 987
al@844 988
al@844 989
al@844 990
al@844 991 <footer>
pascal@952 992 Copyright &copy; <span class="year"></span> <a href="http://www.slitaz.org/en/">SliTaz GNU/Linux</a>
al@844 993 </footer>
al@844 994
pankso@670 995 </body>
pankso@670 996 </html>