tazpkg annotate doc/tazpkg.es.html @ rev 846
Remove "busybox" "prefixes" (thanks llev)
We used "busybox wget", etc. to be sure we called Busybox's "wget", not any other "wget". Workaround already done in "getenv" module.
We used "busybox wget", etc. to be sure we called Busybox's "wget", not any other "wget". Workaround already done in "getenv" module.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 09 13:14:01 2015 +0300 (2015-10-09) |
parents | a73c9918a5de |
children | af67b2269d1f |
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@844 | 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@811 | 263 <li><a href="#shell">shell</a>: run interactive TazPkg shell</li> |
al@811 | 264 </ul> |
al@844 | 265 </article> |
al@811 | 266 |
al@811 | 267 |
al@844 | 268 <article><header>Working with lists</header> |
al@811 | 269 |
al@811 | 270 <ul> |
al@844 | 271 <li><a href="#list">list</a>: lista de paquetes instalados en el sistema</li> |
al@844 | 272 <li><a href="#list-mirror">list-mirror</a>: Lista de todos los paquetes disponibles en el |
al@844 | 273 espejo</li> |
al@844 | 274 <li><a href="#list-config">list-config</a>: lista de archivos de configuración</li> |
al@811 | 275 </ul> |
al@844 | 276 </article> |
al@811 | 277 |
al@811 | 278 |
al@844 | 279 <article><header>Search</header> |
al@811 | 280 |
al@811 | 281 <ul> |
al@844 | 282 <li><a href="#search">search</a>: búsqueda de paquetes por patrón o nombre</li> |
al@844 | 283 <li><a href="#search-pkgname">search-pkgname</a>: buscar en el espejo un paquete que tenga un |
al@844 | 284 archivo particular</li> |
al@844 | 285 <li><a href="#search-file">search-file</a>: búsqueda de archivos en los archivos de todos los |
al@844 | 286 paquetes instalados</li> |
al@811 | 287 </ul> |
al@844 | 288 </article> |
al@811 | 289 |
al@811 | 290 |
al@844 | 291 <article><header>Installing and removing packages</header> |
al@811 | 292 |
al@811 | 293 <ul> |
al@844 | 294 <li><a href="#get">get</a>: download a package into the current directory</li> |
al@811 | 295 <li><a href="#install">install</a>: instala un local paquete</li> |
al@844 | 296 <li><a href="#get-install">get-install</a>: download and install a package from the mirror</li> |
al@844 | 297 <li><a href="#install-list">install-list</a>: install all packages from a list of packages</li> |
al@844 | 298 <li><a href="#install-list">get-install-list</a>: download and install a list of packages from |
al@844 | 299 the mirror</li> |
al@844 | 300 <li><a href="#remove">remove</a>: remover los paquetes especificados y todos los archivos |
al@844 | 301 instalados</li> |
al@844 | 302 <li><a href="#reconfigure">reconfigure</a>: replay post install script from package</li> |
al@844 | 303 <li><a href="#link">link</a>: link a package from another SliTaz installation</li> |
al@844 | 304 <li><a href="#set-release">set-release</a>: change release and update packages</li> |
al@844 | 305 <li><a href="#add-flavor">add-flavor</a>: install the flavor list of packages</li> |
al@844 | 306 <li><a href="#add-flavor">install-flavor</a>: install the flavor list of packages and remove |
al@844 | 307 other ones</li> |
al@811 | 308 </ul> |
al@844 | 309 </article> |
al@811 | 310 |
al@811 | 311 |
al@844 | 312 <article><header>Working with packages</header> |
al@811 | 313 |
al@811 | 314 <ul> |
al@811 | 315 <li><a href="#info">info</a>: imprima información sobre el paquete</li> |
al@811 | 316 <li><a href="#desc">desc</a>: imprima la descripción del paquete</li> |
al@844 | 317 <li><a href="#list-files">list-files</a>: lista de archivos instalados con un paquete</li> |
al@844 | 318 <li><a href="#block">block, unblock</a>: block an installed package version or unblock it for |
al@844 | 319 upgrade</li> |
al@844 | 320 <li><a href="#check">check</a>: verify consistency of installed packages</li> |
al@811 | 321 <li><a href="#bugs">bugs</a>: muestra conocidos bugs en paquetes</li> |
al@811 | 322 <li><a href="#depends">depends</a>: display dependencies tree</li> |
al@811 | 323 <li><a href="#depends">rdepends</a>: display reverse dependencies tree</li> |
al@844 | 324 <li><a href="#extract">extract</a>: extrae un (*.tazpkg) paquete en el directorio</li> |
al@844 | 325 <li><a href="#pack">pack</a>: empaquetar una desempaquetado o preparar un árbol de paquetes</li> |
al@844 | 326 <li><a href="#repack">repack</a>: create a package archive from an installed package</li> |
al@844 | 327 <li><a href="#repack-config">repack-config</a>: create a package archive with configuration |
al@844 | 328 files</li> |
al@844 | 329 <li><a href="#recompress">recompress</a>: rebuild a package with a better compression ratio</li> |
al@811 | 330 <li><a href="#convert">convert</a>: convert alien package to tazpkg</li> |
al@844 | 331 <li><a href="#list-suggested">list-suggested</a>: print list of suggested packages</li> |
al@811 | 332 </ul> |
al@844 | 333 </article> |
al@811 | 334 |
al@811 | 335 |
al@844 | 336 <article><header>Working with repositories</header> |
al@811 | 337 |
al@811 | 338 <ul> |
al@844 | 339 <li><a href="#recharge">recharge</a>: recharge your packages database from the mirror</li> |
al@844 | 340 <li><a href="#upgrade">upgrade</a>: comprobar paquetes md5sum para listar e instalar las últimas |
al@844 | 341 mejoras</li> |
al@844 | 342 <li><a href="#setup-mirror">setup-mirror</a>: change the mirror URL configuration</li> |
al@844 | 343 <li><a href="#add-undigest">setup-undigest</a>: update an undigest mirror</li> |
al@811 | 344 <li><a href="#list-undigest">list-undigest</a>: list undigest mirrors</li> |
al@811 | 345 <li><a href="#add-undigest">add-undigest</a>: add an undigest mirror</li> |
al@844 | 346 <li><a href="#remove-undigest">remove-undigest</a>: remove an undigest mirror</li> |
al@811 | 347 </ul> |
al@844 | 348 </article> |
al@844 | 349 </section> |
al@811 | 350 |
al@811 | 351 |
al@811 | 352 |
al@811 | 353 |
al@844 | 354 <section><header>Service commands</header> |
al@811 | 355 |
al@811 | 356 |
al@844 | 357 <article id="usage"><h3>usage</h3> |
al@811 | 358 |
al@811 | 359 <p>Show the full list of the TazPkg commands with a brief description.</p> |
al@811 | 360 |
al@811 | 361 <pre> |
al@811 | 362 $ tazpkg usage |
al@811 | 363 $ tazpkg |
al@811 | 364 </pre> |
al@844 | 365 </article> |
al@811 | 366 |
al@811 | 367 |
al@844 | 368 <article id="help"><h3>help</h3> |
al@811 | 369 |
al@844 | 370 <p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can enter a short name |
al@844 | 371 of the command, the full name or a part of the full name. You can ignore hyphens at the beginning of |
al@844 | 372 the short name. If the requested part of the full name match the several commands, you will be asked |
al@844 | 373 to clarify the request.</p> |
al@811 | 374 |
al@811 | 375 <pre> |
al@811 | 376 $ tazpkg help <em>-gi</em> |
al@811 | 377 $ tazpkg -h <em>us</em> |
al@811 | 378 </pre> |
al@844 | 379 </article> |
al@811 | 380 |
al@811 | 381 |
al@844 | 382 <article id="activity"><h3>activity</h3> |
al@811 | 383 |
al@844 | 384 <p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or <tt>-a</tt>). Optional |
al@844 | 385 parameter <tt>--nb=</tt> lets you set number of displayed lines.</p> |
al@811 | 386 |
al@811 | 387 <pre> |
al@811 | 388 $ tazpkg activity |
al@811 | 389 $ tazpkg -a --nb=<em>20</em> |
al@811 | 390 </pre> |
al@844 | 391 </article> |
al@811 | 392 |
al@811 | 393 |
al@844 | 394 <article id="clean-cache"><h3>clean-cache</h3> |
al@811 | 395 |
al@844 | 396 <p>Borra los paquetes *.tazpkg descargados en la cache (<tt>clean-cache</tt> o <tt>-cc</tt>). |
al@844 | 397 Durante la instalación, TazPkg guarda una copia de paquetes descargados desde la web. Esto se hace |
al@844 | 398 para ahorrar ancho de banda en caso de reinstalación, pero también puedes querer liberar espacio en |
al@844 | 399 el disco duro o recargar los paquetes.</p> |
al@811 | 400 |
al@811 | 401 <pre> |
al@811 | 402 # tazpkg clean-cache |
al@811 | 403 # tazpkg -cc |
al@811 | 404 </pre> |
al@844 | 405 </article> |
al@811 | 406 |
al@811 | 407 |
al@844 | 408 <article id="shell"><h3>shell</h3> |
al@811 | 409 |
al@844 | 410 <p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands listed above.</p> |
al@811 | 411 |
al@811 | 412 <pre> |
al@811 | 413 $ tazpkg shell |
al@811 | 414 # tazpkg shell |
al@811 | 415 </pre> |
al@844 | 416 </article> |
al@844 | 417 </section> |
al@811 | 418 |
al@811 | 419 |
al@811 | 420 |
al@811 | 421 |
al@844 | 422 <section><header>Working with lists</header> |
al@811 | 423 |
al@811 | 424 |
al@844 | 425 <article id="list"><h3>list</h3> |
pankso@670 | 426 |
al@844 | 427 <p>Lista los paquetes instalados en el sistema (<tt>list</tt> o <tt>-l</tt>). Este comando muestra |
al@844 | 428 la lista de todos los paquetes instalados. También permite mostrar la lista de categorías |
al@844 | 429 (<tt>c</tt> o <tt>cat</tt> o <tt>categories</tt>), los paquetes correspondientes a una categoría y |
al@844 | 430 los paquetes bloqueados (<tt>b</tt> o <tt>blocked</tt>). Además puedes usar el comando <tt><a |
al@844 | 431 href="#search">search</a></tt> para mostrar una lista basada en un término o en el nombre de un |
al@844 | 432 paquete.</p> |
al@811 | 433 |
pankso@670 | 434 <pre> |
al@811 | 435 $ tazpkg list |
al@811 | 436 $ tazpkg list cat |
al@811 | 437 $ tazpkg list <em>games</em> |
al@811 | 438 $ tazpkg list <em>juegos</em> |
al@811 | 439 $ tazpkg list blocked |
pankso@670 | 440 </pre> |
al@844 | 441 </article> |
pankso@670 | 442 |
pankso@670 | 443 |
al@844 | 444 <article id="list-mirror"><h3>list-mirror</h3> |
pankso@670 | 445 |
al@844 | 446 <p>Lista los paquetes disponibles en el espejo (<tt>list-mirror</tt> o <tt>-lm</tt>). Este comando |
al@844 | 447 mostrara el paquetes lista recargado desde el espejo. Si este no existe, se te requerirá ejecutar |
al@844 | 448 <code>tazpkg <a href="#recharge">recharge</a></code> como administrador (root) para ver la lista de |
al@844 | 449 paquetes disponibles. La opción <tt>--diff</tt> se usa para mostrar las diferencias entre la ultima |
al@844 | 450 lista de paquetes y la actual.</p> |
al@811 | 451 |
pankso@670 | 452 <pre> |
al@811 | 453 $ tazpkg list-mirror |
al@811 | 454 $ tazpkg -lm --diff |
pankso@670 | 455 </pre> |
al@844 | 456 </article> |
pankso@670 | 457 |
pankso@670 | 458 |
al@844 | 459 <article id="list-config"><h3>list-config</h3> |
pankso@670 | 460 |
al@844 | 461 <p>Lista los archivos de configuración del sistema. La opción <tt>--box</tt> muestra la lista en |
al@844 | 462 formato tabla. You can specify package name to display configuration files only for this |
al@844 | 463 package.</p> |
al@811 | 464 |
pankso@670 | 465 <pre> |
al@811 | 466 $ tazpkg list-config |
al@811 | 467 $ tazpkg list-config --box |
al@811 | 468 $ tazpkg list-config <em>slim</em> |
al@844 | 469 $ tazpkg list-config <em>slim</em> --box |
pankso@670 | 470 </pre> |
al@844 | 471 </article> |
al@844 | 472 </section> |
pankso@670 | 473 |
pankso@670 | 474 |
pankso@670 | 475 |
al@811 | 476 |
al@844 | 477 <section><header>Search</header> |
pankso@670 | 478 |
pankso@670 | 479 |
al@844 | 480 <article id="search"><h3>search</h3> |
pankso@670 | 481 |
al@844 | 482 <p>Busca paquetes por propietario o por el nombre del paquete (<tt>search</tt> o <tt>-s</tt>). Este |
al@844 | 483 comando buscará el termino requerido en los paquetes instalados (<tt>-i</tt> o <tt>--installed</tt>) |
al@844 | 484 y en la lista de paquetes disponibles en el espejo (<tt>-l</tt> o <tt>--list</tt>).</p> |
al@844 | 485 |
al@844 | 486 <p>Para obtener la última lista de paquetes instalables en el espejo, solo hay que ejecutar |
al@844 | 487 <code>tazpkg recharge</code> antes de la realización de la búsqueda.</p> |
al@811 | 488 |
pankso@670 | 489 <pre> |
al@811 | 490 $ tazpkg search <em>gcc</em> |
al@811 | 491 $ tazpkg search <em>mt</em> -i |
al@811 | 492 $ tazpkg search <em>bit</em> -l |
al@811 | 493 </pre> |
al@844 | 494 </article> |
al@811 | 495 |
al@811 | 496 |
al@844 | 497 <article id="search-pkgname"><h3>search-pkgname</h3> |
al@811 | 498 |
al@844 | 499 <p>Search for a file on mirror and output only the packages names (<tt>search-pkgname</tt> or |
al@844 | 500 <tt>-sp</tt>).</p> |
al@811 | 501 |
al@811 | 502 <pre> |
al@811 | 503 $ tazpkg search-pkgname <em>libnss</em> |
al@811 | 504 $ tazpkg -sp <em>/usr/share/fonts</em> |
pankso@670 | 505 </pre> |
al@844 | 506 </article> |
pankso@670 | 507 |
pankso@670 | 508 |
al@844 | 509 <article id="search-file"><h3>search-file</h3> |
pankso@670 | 510 |
al@844 | 511 <p>Buscar un archivo entre los archivos instalados por los paquetes (<tt>search-file</tt> o |
al@844 | 512 <tt>-sf</tt>). Este comando es muy útil para saber la ruta completa de un archivo y determinar si un |
al@844 | 513 archivo esta presente en el sistema. Option <tt>--mirror</tt> allows to search for a file among all |
al@844 | 514 the files available on the mirror.</p> |
al@811 | 515 |
pankso@670 | 516 <pre> |
al@811 | 517 $ tazpkg search-file <em>libnss</em> |
al@811 | 518 $ tazpkg -sf <em>/usr/share/fonts</em> --mirror |
al@811 | 519 </pre> |
al@844 | 520 </article> |
al@844 | 521 </section> |
al@811 | 522 |
al@811 | 523 |
al@811 | 524 |
al@811 | 525 |
al@844 | 526 <section><header>Installing and removing packages</header> |
al@811 | 527 |
al@811 | 528 |
al@844 | 529 <article id="get"><h3>get</h3> |
al@811 | 530 |
al@844 | 531 <p>Descargar un paquete desde el espejo (<tt>get</tt> o <tt>-g</tt>). El paquete descargado es |
al@844 | 532 almacenado en el directorio actual. Para encontrar la ruta puedes usar <code>pwd</code>.</p> |
al@811 | 533 |
al@811 | 534 <pre> |
al@811 | 535 # tazpkg get <em>grub</em> |
al@811 | 536 # tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em> |
pankso@670 | 537 </pre> |
al@844 | 538 </article> |
pankso@670 | 539 |
pankso@670 | 540 |
al@844 | 541 <article id="install"><h3>install</h3> |
pankso@670 | 542 |
al@844 | 543 <p>Este comando te permite instalar un paquete local con la extensión <tt>.tazpkg</tt> |
al@844 | 544 (<tt>install</tt> o <tt>-i</tt>). Ver <tt><a href="#get-install">get-install</a></tt> para instalar |
al@844 | 545 un paquete desde internet. Tenga en cuenta que puede forzar la instalación con las opciones |
al@844 | 546 <tt>--forced</tt>. Option <tt>--newconf</tt> allows you to rewrite all user configuration files |
al@844 | 547 using the new files from package. Option <tt>--nodeps</tt> allows you to install only a specified |
al@844 | 548 package without its dependencies.</p> |
al@811 | 549 |
pankso@670 | 550 <pre> |
al@811 | 551 # tazpkg install <em>paquete-1.0.tazpkg</em> |
al@844 | 552 # tazpkg install <em>ruta/al/paquete-1.0.tazpkg</em> --forced |
al@844 | 553 # tazpkg install <em>ruta/al/paquete-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em> |
pankso@670 | 554 </pre> |
al@844 | 555 </article> |
pankso@670 | 556 |
pankso@670 | 557 |
al@844 | 558 <article id="get-install"><h3>get-install</h3> |
al@811 | 559 |
al@844 | 560 <p>Descargar e instalar un paquete desde un espejo en internet (<tt>get-install</tt> o |
al@844 | 561 <tt>-gi</tt>). El comando empieza comprobando si el paquete existe en el espejo y si ya ha sido |
al@844 | 562 descargado. Para ver la lista de paquetes en el espejo, tenemos que usar el comando <tt><a |
al@844 | 563 href="#list-mirror">list-mirror</a></tt>. Note that you can force the installation via the |
al@844 | 564 <tt>--forced</tt> option. Option <tt>--newconf</tt> allows you to rewrite all user configuration |
al@844 | 565 files using the new files from a package. Option <tt>--nodeps</tt> allows you to install only a |
al@844 | 566 specified package without its dependencies.</p> |
al@811 | 567 |
pankso@670 | 568 <pre> |
al@811 | 569 # tazpkg get-install <em>grub</em> |
al@811 | 570 # tazpkg -gi <em>grub</em> --forced |
al@811 | 571 # tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em> |
al@811 | 572 </pre> |
al@844 | 573 </article> |
al@811 | 574 |
al@811 | 575 |
al@844 | 576 <article id="install-list"><h3>install-list, get-install-list</h3> |
al@811 | 577 |
al@844 | 578 <p>Instala un conjunto de paquetes listados en un archivo. Este comando te permite (descargar e) |
al@844 | 579 instalar varios paquetes con un solo comando y también puede ser forzado.</p> |
al@811 | 580 |
al@811 | 581 <pre> |
al@844 | 582 # tazpkg install-list <em>mis-paquetes.lista</em> |
al@844 | 583 # tazpkg get-install-list <em>mis-paquetes.lista</em> --forced |
al@811 | 584 </pre> |
al@844 | 585 </article> |
al@811 | 586 |
al@811 | 587 |
al@844 | 588 <article id="remove"><h3>remove</h3> |
al@811 | 589 |
al@844 | 590 <p>Borra un paquete (<tt>remove</tt> o <tt>-r</tt>). Se te preguntará para confirmar (s/N) of |
al@844 | 591 removing the package, as well as for removing packages depending on this package, and for |
al@844 | 592 reinstalling packages modified by this package. Este comando borrará todos los archivos instalados |
al@844 | 593 con el paquete.</p> |
al@844 | 594 |
al@844 | 595 <p>Option <tt>--auto</tt> removes and reinstalls packages without your confirmation.</p> |
al@811 | 596 |
al@811 | 597 <pre> |
al@811 | 598 # tazpkg remove <em>bc</em> |
al@811 | 599 # tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em> |
al@811 | 600 # tazpkg -r <em>nano</em> --auto |
al@811 | 601 </pre> |
al@844 | 602 </article> |
al@811 | 603 |
al@811 | 604 |
al@844 | 605 <article id="reconfigure"><h3>reconfigure</h3> |
al@811 | 606 |
al@811 | 607 <p>Vuelve a reproducir el script de post-instalación del paquete.</p> |
al@811 | 608 |
al@811 | 609 <pre> |
al@811 | 610 # tazpkg reconfigure <em>gcc</em> |
al@811 | 611 # tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em> |
pankso@670 | 612 </pre> |
al@844 | 613 </article> |
pankso@670 | 614 |
pankso@670 | 615 |
al@844 | 616 <article id="link"><h3>link</h3> |
pankso@670 | 617 |
al@844 | 618 <p>Este comando te permite la instalación de un paquete desde otro dispositivo. La instalación se |
al@844 | 619 hace por medio de enlaces simbólicos y consume muy poca memoria. Es generalmente usada dentro del |
al@844 | 620 sistema RAM para instalar add-ons (extensiones) desde USB.</p> |
al@811 | 621 |
pankso@670 | 622 <pre> |
pankso@670 | 623 # tazpkg link <em>openoffice /media/usbdisk</em> |
pankso@670 | 624 </pre> |
al@844 | 625 </article> |
pankso@670 | 626 |
pankso@670 | 627 |
al@844 | 628 <article id="set-release"><h3>set-release</h3> |
pankso@670 | 629 |
al@844 | 630 <p>El comando cambia la versión actual y actualiza todos los paquetes a la última versión.</p> |
al@811 | 631 |
pankso@670 | 632 <pre> |
al@811 | 633 # tazpkg set-release <em>cooking</em> |
pankso@670 | 634 </pre> |
al@844 | 635 </article> |
pankso@670 | 636 |
pankso@670 | 637 |
al@844 | 638 <article id="add-flavor"><h3>add-flavor, install-flavor</h3> |
pankso@670 | 639 |
al@844 | 640 <p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt> purges other |
al@844 | 641 installed packages.</p> |
al@811 | 642 |
pankso@670 | 643 <pre> |
al@811 | 644 # tazpkg add-flavor <em>gtkonly</em> |
al@811 | 645 # tazpkg install-flavor <em>justx</em> |
pankso@670 | 646 </pre> |
al@844 | 647 </article> |
al@844 | 648 </section> |
pankso@670 | 649 |
pankso@670 | 650 |
pankso@670 | 651 |
al@811 | 652 |
al@844 | 653 <section><header>Working with packages</header> |
al@811 | 654 |
al@811 | 655 |
al@844 | 656 <article id="info"><h3>info</h3> |
al@811 | 657 |
al@844 | 658 <p>Muestra cualquier información disponible en el fichero de recibo del paquete en cuestión, como su |
al@844 | 659 versión, categoría, mantenedor, página web y dependencias (véase también <a |
al@844 | 660 href="../cookutils/cookutils.en.html" target="_blank">Cookutils</a> para más información sobre los |
al@844 | 661 ficheros de recibo).</p> |
al@811 | 662 |
pankso@670 | 663 <pre> |
al@811 | 664 $ tazpkg info <em>busybox</em> |
pankso@670 | 665 </pre> |
al@844 | 666 </article> |
pankso@670 | 667 |
pankso@670 | 668 |
al@844 | 669 <article id="desc"><h3>desc</h3> |
pankso@670 | 670 |
al@844 | 671 <p>Descripción del paquete (<tt>desc</tt> or <tt>-d</tt>).</p> |
al@811 | 672 |
pankso@670 | 673 <pre> |
al@811 | 674 $ tazpkg desc <em>busybox</em> |
pankso@670 | 675 </pre> |
al@844 | 676 </article> |
pankso@670 | 677 |
pankso@670 | 678 |
al@844 | 679 <article id="list-files"><h3>list-files</h3> |
pankso@670 | 680 |
al@844 | 681 <p>Lista todos los archivos instalados con un paquete (<tt>list-files</tt> o <tt>-lf</tt>). Este |
al@844 | 682 comando simplemente lee y muestra el archivo <tt>files.list</tt> de cada paquete que se genera |
al@844 | 683 automáticamente cuando el paquete es creado y también se usa para borrar los archivos cuando se |
al@844 | 684 desinstala un paquete.</p> |
al@811 | 685 |
pankso@670 | 686 <pre> |
al@811 | 687 $ tazpkg list-files <em>bc</em> |
pankso@670 | 688 </pre> |
al@844 | 689 </article> |
pankso@670 | 690 |
pankso@670 | 691 |
al@844 | 692 <article id="block"><h3>block, unblock, chblock</h3> |
pankso@670 | 693 |
al@844 | 694 <p>Los comandos <tt>block</tt> (o <tt>-b</tt>) y <tt>unblock</tt> (o <tt>-u</tt>) te permiten |
al@844 | 695 bloquear versiones de paquetes instalados asi ya no estarán mantenidos por |
al@844 | 696 <tt><a href="#upgrade">upgrade</a></tt>. Command <tt>chblock</tt> changes the blocking state of the |
al@844 | 697 package. La lista de paquetes en espera se encuentra en |
al@844 | 698 <tt>/var/lib/tazpkg/blocked-packages.list</tt>. Este archivo puede ser editado manualmente.</p> |
al@811 | 699 |
pankso@670 | 700 <pre> |
al@811 | 701 # tazpkg block <em>grub</em> |
al@811 | 702 # tazpkg unblock <em>grub</em> |
al@811 | 703 # tazpkg chblock <em>grub</em> |
pankso@670 | 704 </pre> |
al@844 | 705 </article> |
pankso@670 | 706 |
pankso@670 | 707 |
al@844 | 708 <article id="check"><h3>check</h3> |
pankso@670 | 709 |
al@844 | 710 <p>Comprobar las dependencias en paquetes instalados y determinar si todos los archivos necesarios |
al@844 | 711 para reempacar paquetes están presentes. You can specify package name to check or check all |
al@844 | 712 installed packages. Option <tt>--full</tt> makes few more checks and need more time.</p> |
al@811 | 713 |
pankso@670 | 714 <pre> |
al@811 | 715 $ tazpkg check |
al@811 | 716 $ tazpkg check --full |
al@811 | 717 $ tazpkg check <em>nano</em> |
al@811 | 718 $ tazpkg check <em>sakura</em> --full |
pankso@670 | 719 </pre> |
al@844 | 720 </article> |
pankso@670 | 721 |
pankso@670 | 722 |
al@844 | 723 <article id="bugs"><h3>bugs</h3> |
pankso@670 | 724 |
al@844 | 725 <p>Genera una lista de los errores (bugs) conocidos de los paquetes. You can specify a single |
al@844 | 726 package to show bugs.</p> |
al@811 | 727 |
pankso@670 | 728 <pre> |
al@811 | 729 $ tazpkg bugs |
al@844 | 730 $ tazpkg bugs <em>nano</em> |
pankso@670 | 731 </pre> |
al@844 | 732 </article> |
pankso@670 | 733 |
pankso@670 | 734 |
al@844 | 735 <article id="depends"><h3>depends, rdepends</h3> |
pankso@670 | 736 |
al@844 | 737 <p>Muestra un árbol de dependencias o un árbol de dependencias invertido para un paquete.</p> |
al@844 | 738 |
al@844 | 739 <p>For <code>depends</code> command: option <tt>--mark</tt> marks installed packages with plus sign |
al@844 | 740 and not installed with a minus/dash. Option <tt>--total</tt> calculates the number of displayed |
al@844 | 741 packages and their size. Also, with both options at a time you'll get the number and size of |
al@844 | 742 packages to be installed.</p> |
al@844 | 743 |
al@844 | 744 <p>For <code>rdepends</code> command: without the <tt>--all</tt> option you'll get the list of only |
al@844 | 745 installed reverse dependency packages, with this option — a list of all available packages. Option |
al@844 | 746 <tt>--mark</tt> marks packages as in the <code>depends</code> command.</p> |
pankso@670 | 747 |
pankso@670 | 748 <pre> |
pankso@670 | 749 # tazpkg depends <em>mpd</em> |
pankso@670 | 750 # tazpkg rdepends <em>mpd</em> |
pankso@670 | 751 </pre> |
al@844 | 752 </article> |
pankso@670 | 753 |
pankso@670 | 754 |
al@844 | 755 <article id="extract"><h3>extract</h3> |
pankso@670 | 756 |
al@844 | 757 <p>Extrae un paquete en un directorio (<tt>extract</tt> or <tt>-e</tt>). Si no especificas el |
al@844 | 758 directorio de destino, el paquete se extraerá en el directorio actual usando el nombre |
al@844 | 759 <tt><em>paquete-version</em></tt>.</p> |
al@811 | 760 |
al@811 | 761 <pre> |
al@811 | 762 $ tazpkg extract <em>paquete.tazpkg</em> |
al@811 | 763 $ tazpkg extract <em>paquete.tazpkg target/dir</em> |
al@811 | 764 </pre> |
al@844 | 765 </article> |
al@811 | 766 |
al@811 | 767 |
al@844 | 768 <article id="pack"><h3>pack</h3> |
al@811 | 769 |
al@844 | 770 <p>Crea un paquete desde un directorio preparado de antemano o desde un paquete desempaquetado. |
al@844 | 771 También puede crear manualmente un paquete <tt>.tazpkg</tt> (ver la documentación de <a |
al@844 | 772 href="../cookutils/cookutils.en.html" target="_blank">Cookutils</a> para la creación automática de |
al@844 | 773 paquetes).</p> |
al@811 | 774 |
al@811 | 775 <pre> |
al@811 | 776 # tazpkg pack <em>paquete-version</em> |
al@811 | 777 </pre> |
al@844 | 778 </article> |
al@811 | 779 |
al@811 | 780 |
al@844 | 781 <article id="repack"><h3>repack</h3> |
al@811 | 782 |
al@844 | 783 <p>Recrear un paquete desde los archivos en el sistema donde fue previamente instalado.</p> |
al@811 | 784 |
al@811 | 785 <pre> |
al@844 | 786 # tazpkg repack <tt>paquete</tt> |
al@811 | 787 </pre> |
al@844 | 788 </article> |
al@811 | 789 |
al@811 | 790 |
al@844 | 791 <article id="repack-config"><h3>repack-config</h3> |
al@811 | 792 |
al@844 | 793 <p>Recrea un paquete de archivos de configuración del sistema (ver <tt><a |
al@844 | 794 href="#list-config">list-config</a></tt>). Es suficiente instalar el paquete para encontrar la |
al@844 | 795 configuración actual.</p> |
al@811 | 796 |
al@811 | 797 <pre> |
al@811 | 798 # tazpkg repack-config |
al@811 | 799 </pre> |
al@844 | 800 </article> |
al@811 | 801 |
al@811 | 802 |
al@844 | 803 <article id="recompress"><h3>recompress</h3> |
al@811 | 804 |
al@811 | 805 <p>Recompress .tazpkg cpio archive with lzma.</p> |
al@811 | 806 |
al@811 | 807 <pre> |
al@811 | 808 $ tazpkg recompress <em>paquete.tazpkg</em> |
al@811 | 809 </pre> |
al@844 | 810 </article> |
al@811 | 811 |
al@811 | 812 |
al@844 | 813 <article id="convert"><h3>convert</h3> |
al@811 | 814 |
al@844 | 815 <p>Convierte los paquetes en paquetes Slitaz (<tt>.tazpkg</tt>) (<tt>convert</tt> o |
al@844 | 816 <tt>-c</tt>).</p> |
al@811 | 817 |
al@811 | 818 <p>Supported packages formats:</p> |
al@811 | 819 |
al@811 | 820 <ul> |
al@844 | 821 <li><a href="https://packages.debian.org/search" target="_blank">paquetes Debian</a> |
al@844 | 822 (<tt>*.deb</tt>, <tt>*.udeb</tt>)</li> |
al@844 | 823 <li><a href="http://rpmfind.net/linux/rpm2html/search.php" target="_blank">paquetes RPM</a> |
al@844 | 824 (<tt>*.rpm</tt>)</li> |
al@844 | 825 <li><a href="http://www.slax.org/" target="_blank">paquetes Slax</a> (<tt>*.sb</tt>)</li> |
al@844 | 826 <li><a href="http://puppylinux.org/" target="_blank">paquetes Puppy</a> (<tt>*.sfs</tt>, |
al@844 | 827 <tt>*.pet</tt>)</li> |
al@844 | 828 <li><a href="http://www.slackware.com/packages/" target="_blank">paquetes Slackware</a> |
al@844 | 829 (<tt>*.tgz</tt>)</li> |
al@811 | 830 <li><a href="http://www.nutyx.org/" target="_blank">paquetes NuTyX</a> |
al@811 | 831 (<tt>*.cards.tar.xz</tt>)</li> |
al@844 | 832 <li><a href="https://www.archlinux.org/packages/" target="_blank">paquetes Arch Linux</a> / <a |
al@844 | 833 href="http://pkgs.alpinelinux.org/packages" target="_blank">Alpine Linux</a> |
al@844 | 834 (<tt>*.apk</tt>, <tt>*.pkg.tar.gz</tt>, <tt>*.pkg.tar.xz</tt>)</li> |
al@844 | 835 <li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">paquetes OpenWrt</a> |
al@844 | 836 (<tt>*.ipk</tt>, <tt>*.opk</tt>)</li> |
al@844 | 837 <li><a href="http://0.tuxfamily.org/doku.php/paquets/start" target="_blank">paquetes 0Linux</a> |
al@844 | 838 (<tt>*.spack</tt>)</li> |
al@844 | 839 <li><a href="http://www.paldo.org/index-section-packages.html" target="_blank">paquetes |
al@844 | 840 paldo</a> (<tt>*.tar.bz2</tt>)</li> |
al@844 | 841 <li><a href="http://www.voidlinux.eu/packages/" target="_blank">paquetes Void</a> |
al@844 | 842 (<tt>*.xbps</tt>)</li> |
al@844 | 843 <li><a href="http://tinycorelinux.net/" target="_blank">paquetes Tinycore</a> (<tt>*.tce</tt>, |
al@844 | 844 <tt>*.tcel</tt>, <tt>*.tcem</tt>, <tt>*.tcz</tt>)</li> |
al@811 | 845 </ul> |
al@811 | 846 |
al@811 | 847 <pre> |
al@811 | 848 # tazpkg convert <em>alien-paquete</em> |
al@811 | 849 </pre> |
al@844 | 850 </article> |
al@811 | 851 |
al@811 | 852 |
al@844 | 853 <article id="list-suggested"><h3>list-suggested</h3> |
al@811 | 854 |
al@844 | 855 <p>List suggested packages for each of your installed packages. With option <tt>--all</tt> it shows |
al@844 | 856 all suggested packages, and without option it shows only not installed suggested packages.</p> |
al@811 | 857 |
al@811 | 858 <pre> |
al@811 | 859 $ tazpkg list-suggested |
al@811 | 860 $ tazpkg list-suggested --all |
al@811 | 861 </pre> |
al@844 | 862 </article> |
al@844 | 863 </section> |
al@811 | 864 |
al@811 | 865 |
al@811 | 866 |
al@811 | 867 |
al@844 | 868 <section><header>Working with repositories</header> |
al@811 | 869 |
al@811 | 870 |
al@844 | 871 <article id="recharge"><h3>recharge</h3> |
al@811 | 872 |
al@844 | 873 <p>Recarga la lista de los paquetes disponibles en el espejo. Este comando descargará el packages |
al@844 | 874 database más reciente con la lista de paquetes disponibles en el espejo y antes de empezar guardará |
al@844 | 875 una copia de la database antigua. Una vez actualizada la DB, puedes usar los comandos <tt><a |
al@844 | 876 href="#list">list</a></tt> y <tt><a href="#search">search</a></tt>. Para ver y listar las |
al@844 | 877 diferencias, puedes usar <code>list-mirror --diff</code>; y para ver y actualizar paquetes, puedes |
al@844 | 878 usar el comando <tt><a href="#upgrade">upgrade</a></tt>.</p> |
al@844 | 879 |
al@844 | 880 <p>Command without options will recharge databases of all your repositories. You can specify the |
al@844 | 881 repository to be recharged: “main” for main repo, or undigest repository name.</p> |
al@811 | 882 |
al@811 | 883 <pre> |
al@811 | 884 # tazpkg recharge |
al@811 | 885 # tazpkg recharge main |
al@811 | 886 # tazpkg recharge <em>My_Undigest</em> |
al@811 | 887 # tazpkg recharge --root=<em>/mnt/sda6</em> |
al@811 | 888 </pre> |
al@844 | 889 </article> |
al@811 | 890 |
al@811 | 891 |
al@844 | 892 <article id="upgrade"><h3>upgrade</h3> |
al@811 | 893 |
al@844 | 894 <p>Upgrade te permite actualizar todos los paquetes instalados disponibles en el espejo actual |
al@844 | 895 (<tt>upgrade</tt> or <tt>up</tt>). Actualizar paquetes es una parte importante de la seguridad del |
al@844 | 896 sistema, ayuda a mantenerte seguro con las ultimas actualizaciones y correcciones. El proyecto |
al@844 | 897 SliTaz, aunque sea pequeño, proporciona actualizaciones regulares de seguridad y en general ofrece |
al@844 | 898 las ultimas versiones de software. Tenga en cuenta que esta función esta dirigida a la gente con |
al@844 | 899 SliTaz instalado en su disco duro. Los paquetes actualizados en el modo Live CD se perderán al |
al@844 | 900 apagar el sistema.</p> |
al@844 | 901 |
al@844 | 902 <p>At the beginning the packages database is updated automatically (<tt><a |
al@844 | 903 href="#recharge">recharge</a></tt>) in order to provide you with the current list of packages that |
al@844 | 904 you can update.</p> |
al@844 | 905 |
al@844 | 906 <p>Without options it runs in interactive mode and asks before install. You can specify one of the |
al@844 | 907 next options: <tt>-c</tt> or <tt>--check</tt> to check only for available upgrades; <tt>-i</tt> or |
al@844 | 908 <tt>--install</tt> to check for upgrades and install them all.</p> |
al@811 | 909 |
al@811 | 910 <pre> |
al@811 | 911 # tazpkg upgrade |
al@844 | 912 # tazpkg up --check |
al@844 | 913 # tazpkg up -i |
al@811 | 914 </pre> |
al@844 | 915 </article> |
al@811 | 916 |
al@811 | 917 |
al@844 | 918 <article id="setup-mirror"><h3>setup-mirror</h3> |
al@811 | 919 |
al@844 | 920 <p>Configura la dirección URL del espejo (<tt>setup-mirror</tt> o <tt>-sm</tt>). El comando te |
al@844 | 921 preguntará la dirección URL del nuevo espejo. Tenga en cuenta que también puede modificar el archivo |
al@844 | 922 principal <tt>/var/lib/tazpkg/mirror</tt>. La dirección URL tiene que indicar el directorio que |
al@844 | 923 contiene el archivo <tt>packages.info</tt> y los paquetes.</p> |
al@811 | 924 |
al@811 | 925 <pre> |
al@811 | 926 # tazpkg setup-mirror |
al@811 | 927 </pre> |
al@844 | 928 </article> |
al@811 | 929 |
al@811 | 930 |
al@844 | 931 <article id="add-undigest"><h3>add-undigest, setup-undigest</h3> |
al@811 | 932 |
al@844 | 933 <p>Establece la dirección URL de un espejo adicional no oficial para probar paquetes que todavía no |
al@844 | 934 están presentes en los espejos oficiales. Tenga en cuenta que también puede editar manualmente el |
al@844 | 935 archivo en <tt>/var/lib/tazpkg/undigest/<em>repository</em></tt>. La dirección URL tiene que indicar |
al@844 | 936 el directorio que contiene los paquetes y el archivo <tt>packages.info</tt>.</p> |
al@811 | 937 |
pankso@670 | 938 <pre> |
pankso@670 | 939 # tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em> |
pankso@670 | 940 # tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em> |
pankso@670 | 941 </pre> |
al@844 | 942 </article> |
pankso@670 | 943 |
pankso@670 | 944 |
al@844 | 945 <article id="list-undigest"><h3>list-undigest</h3> |
al@811 | 946 |
al@844 | 947 <p>Lista espejos no oficiales (undigest) adicionales. Option <tt>--box</tt> will output list in the |
al@844 | 948 table form.</p> |
al@811 | 949 |
al@811 | 950 <pre> |
al@811 | 951 # tazpkg list-undigest |
al@811 | 952 # tazpkg list-undigest --box |
al@811 | 953 </pre> |
al@844 | 954 </article> |
al@811 | 955 |
al@811 | 956 |
al@844 | 957 <article id="remove-undigest"><h3>remove-undigest</h3> |
pankso@670 | 958 |
al@844 | 959 <p>Borra la dirección de un espejo no oficial (undigest). You will be asked for confirmation.</p> |
al@811 | 960 |
pankso@670 | 961 <pre> |
pankso@670 | 962 # tazpkg remove-undigest <em>my-repository</em> |
pankso@670 | 963 </pre> |
al@844 | 964 </article> |
al@844 | 965 </section> |
pankso@670 | 966 |
pankso@670 | 967 |
pankso@670 | 968 |
pankso@670 | 969 |
al@844 | 970 <section><header>Encargado de mantenimiento</header> |
al@811 | 971 |
al@811 | 972 <p>Christophe Lincoln <pankso en slitaz.org></p> |
al@844 | 973 </section> |
pankso@670 | 974 |
al@844 | 975 |
al@844 | 976 |
al@844 | 977 |
al@844 | 978 <footer> |
al@844 | 979 Copyright © 2015 <a href="http://www.slitaz.org/es/">SliTaz GNU/Linux</a> |
al@844 | 980 </footer> |
al@844 | 981 |
pankso@670 | 982 </body> |
pankso@670 | 983 </html> |