website diff fr/doc/manuals/tazpkg.html @ rev 543
tazpkg*: add hooks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 17 12:21:01 2009 +0200 (2009-09-17) |
parents | c024635ea9df |
children |
line diff
1.1 --- a/fr/doc/manuals/tazpkg.html Sat Apr 11 19:48:44 2009 +0200 1.2 +++ b/fr/doc/manuals/tazpkg.html Thu Sep 17 12:21:01 2009 +0200 1.3 @@ -75,6 +75,7 @@ 1.4 # tazpkg list cat|categories 1.5 # tazpkg list blocked 1.6 </pre> 1.7 +<a name="xhtml-list"></a> 1.8 <h3><font color="#6c0023">xhtml-list</font></h3> 1.9 <p> 1.10 La commande 'xhtml-list' permet de créer une liste au format xHTML des 1.11 @@ -89,6 +90,7 @@ 1.12 # tazpkg xhtml-list 1.13 # tazpkg xhtml-list list-name.html 1.14 </pre> 1.15 +<a name="list-mirror"></a> 1.16 <h3><font color="#6c0023">list-mirror</font></h3> 1.17 <p> 1.18 Liste et compte les paquets disponnibles sur le miroir. Cette commande va 1.19 @@ -102,6 +104,7 @@ 1.20 # tazpkg list-mirror 1.21 # tazpkg list-mirror --diff 1.22 </pre> 1.23 +<a name="info"></a> 1.24 <h3><font color="#6c0023">info</font></h3> 1.25 <p> 1.26 Donne les informations disponibles dans la recette du paquet en question, sa 1.27 @@ -111,6 +114,7 @@ 1.28 <pre> 1.29 # tazpkg info busybox 1.30 </pre> 1.31 +<a name="desc"></a> 1.32 <h3><font color="#6c0023">desc</font></h3> 1.33 <p> 1.34 Description du paquet (si elle existe). Cette commande affiche le fichier 1.35 @@ -122,6 +126,16 @@ 1.36 <pre> 1.37 # tazpkg desc busybox 1.38 </pre> 1.39 +<a name="list-config"></a> 1.40 +<h3><font color="#6c0023">list-config</font></h3> 1.41 +<p> 1.42 +Liste les fichiers de configuration. L'option --box affiche un tableau : 1.43 +</p> 1.44 +<pre> 1.45 + # tazpkg list-config 1.46 + # tazpkg list-config --box 1.47 +</pre> 1.48 +<a name="list-files"></a> 1.49 <h3><font color="#6c0023">list-files</font></h3> 1.50 <p> 1.51 Liste et compte les fichiers installés avec un paquet. Cette commande va 1.52 @@ -133,6 +147,7 @@ 1.53 <pre> 1.54 # tazpkg list-files bc 1.55 </pre> 1.56 +<a name="search"></a> 1.57 <h3><font color="#6c0023">search</font></h3> 1.58 <p> 1.59 Recherche de paquets par patron ou nom de paquet. La commande 1.60 @@ -144,6 +159,7 @@ 1.61 <pre> 1.62 # tazpkg search gcc 1.63 </pre> 1.64 +<a name="search-files"></a> 1.65 <h3><font color="#6c0023">search-files</font></h3> 1.66 <p> 1.67 La commande 'search-file' permet de rechercher un fichier parmi tous les 1.68 @@ -154,6 +170,7 @@ 1.69 <pre> 1.70 $ tazpkg search-file libnss 1.71 </pre> 1.72 +<a name="install"></a> 1.73 <h3><font color="#6c0023">install</font></h3> 1.74 <p> 1.75 Cette commande permet l'installation d'un paquet local avec l'extension 1.76 @@ -169,16 +186,29 @@ 1.77 Ou : 1.78 # tazpkg install path/to/package-1.0.tazpkg --root=/mnt/rootfs 1.79 </pre> 1.80 -<h3><font color="#6c0023">install-list</font></h3> 1.81 +<a name="install-list"></a> 1.82 +<h3><font color="#6c0023">install-list ou get-install-list</font></h3> 1.83 <p> 1.84 Installation d'un set de paquets listés dans un fichier. Cette commande 1.85 -permet d'installer plusieurs paquets en une seule commande et peut aussi être 1.86 -forcée : 1.87 +permet (de télécharger et ) d'installer plusieurs paquets en une seule 1.88 +commande et peut aussi être forcée : 1.89 </p> 1.90 <pre> 1.91 # tazpkg install-list my-packages.list 1.92 - # tazpkg install-list my-packages.list --forced 1.93 + # tazpkg get-install-list my-packages.list --forced 1.94 </pre> 1.95 +<a name="link"></a> 1.96 +<h3><font color="#6c0023">link</font></h3> 1.97 +<p> 1.98 +Cette command permet l'installation d'un paquet à partir d'un autre media 1.99 +par des liens symboliques et utilise très peu de mémoire. Elle est utlisée 1.100 +généralement avec un système en RAM pour installer des complémement à partir 1.101 +d'une clé USB : 1.102 +</p> 1.103 +<pre> 1.104 + # tazpkg link openoffice /media/usbdisk 1.105 +</pre> 1.106 +<a name="remove"></a> 1.107 <h3><font color="#6c0023">remove</font></h3> 1.108 <p> 1.109 Désinstallation d'un paquet, il vous sera demandé confirmation (y/N). Cette 1.110 @@ -189,6 +219,7 @@ 1.111 <pre> 1.112 # tazpkg remove bc 1.113 </pre> 1.114 +<a name="extract"></a> 1.115 <h3><font color="#6c0023">extract</font></h3> 1.116 <p> 1.117 Extraire un paquet dans un répertoire donné. Si vous ne spécifiez pas le 1.118 @@ -199,6 +230,7 @@ 1.119 # tazpkg extract package.tazpkg 1.120 # tazpkg extract package.tazpkg target/dir 1.121 </pre> 1.122 +<a name="pack"></a> 1.123 <h3><font color="#6c0023">pack</font></h3> 1.124 <p> 1.125 La commande 'pack' permet de créer un paquet depuis un répertoire préparé à 1.126 @@ -209,6 +241,7 @@ 1.127 <pre> 1.128 # tazpkg pack package-version 1.129 </pre> 1.130 +<a name="repack"></a> 1.131 <h3><font color="#6c0023">repack</font></h3> 1.132 <p> 1.133 La commande 'repack' permet de recréer un paquet depuis les fichiers présents 1.134 @@ -217,6 +250,7 @@ 1.135 <pre> 1.136 # tazpkg repack package 1.137 </pre> 1.138 +<a name="repack-config"></a> 1.139 <h3><font color="#6c0023">repack-config</font></h3> 1.140 <p> 1.141 La commande 'repack-config' permet de recréer un paquet avec tous les fichiers 1.142 @@ -226,6 +260,7 @@ 1.143 <pre> 1.144 # tazpkg repack-config 1.145 </pre> 1.146 +<a name="recharge"></a> 1.147 <h3><font color="#6c0023">recharge</font></h3> 1.148 <p> 1.149 Recharge la liste des paquets disponibles sur le miroir (packages.list). Cette 1.150 @@ -241,6 +276,7 @@ 1.151 <pre> 1.152 # tazpkg recharge 1.153 </pre> 1.154 +<a name="upgrade"></a> 1.155 <h3><font color="#6c0023">upgrade</font></h3> 1.156 <p> 1.157 La commande 'upgrade' permet de mettre à jour tous les paquets installés et 1.158 @@ -256,6 +292,7 @@ 1.159 <pre> 1.160 # tazpkg upgrade 1.161 </pre> 1.162 +<a name="check"></a> 1.163 <h3><font color="#6c0023">check</font></h3> 1.164 <p> 1.165 La commande 'check' permet de vérifier les dépendances sur les paquets 1.166 @@ -265,6 +302,7 @@ 1.167 <pre> 1.168 # tazpkg check 1.169 </pre> 1.170 +<a name="block"></a> 1.171 <h3><font color="#6c0023">block ou unblock</font></h3> 1.172 <p> 1.173 Les commandes 'block' et 'unblock' pemettent de bloquer la version du paquet 1.174 @@ -278,6 +316,7 @@ 1.175 Ou : 1.176 # tazpkg unblock grub 1.177 </pre> 1.178 +<a name="get"></a> 1.179 <h3><font color="#6c0023">get</font></h3> 1.180 <p> 1.181 Télécharge un paquet depuis le miroir (si il existe). Le paquet téléchargé 1.182 @@ -288,6 +327,7 @@ 1.183 <pre> 1.184 # tazpkg get grub 1.185 </pre> 1.186 +<a name="get-install"></a> 1.187 <h3><font color="#6c0023">get-install</font></h3> 1.188 <p> 1.189 Installer un paquet depuis un mirroir sur internet. La commande 'get-install' 1.190 @@ -299,6 +339,7 @@ 1.191 <pre> 1.192 # tazpkg get-install grub 1.193 </pre> 1.194 +<a name="clean-cache"></a> 1.195 <h3><font color="#6c0023">clean-cache</font></h3> 1.196 <p> 1.197 Supprimer les paquets Tazpkg téléchargés dans le cache. Lors de l'installation 1.198 @@ -310,6 +351,7 @@ 1.199 <pre> 1.200 # tazpkg clean-cache 1.201 </pre> 1.202 +<a name="setup-mirror"></a> 1.203 <h3><font color="#6c0023">setup-mirror</font></h3> 1.204 <p> 1.205 Configurer l'URL du miroir, la commande 'setup-mirror' vous demandera alors 1.206 @@ -321,6 +363,76 @@ 1.207 <pre> 1.208 # tazpkg setup-mirror 1.209 </pre> 1.210 +<a name="reconfigure"></a> 1.211 +<h3><font color="#6c0023">reconfigure</font></h3> 1.212 +<p> 1.213 +Rejoue le script post-install du paquet. Exemple pour gcc : 1.214 +</p> 1.215 +<pre> 1.216 + # tazpkg reconfigure gcc 1.217 +</pre> 1.218 +<a name="depends"></a> 1.219 +<h3><font color="#6c0023">depends or rdepends</font></h3> 1.220 +<p> 1.221 +Affiche l'arbre des dépendances ou l'arbre inversé des dépendances du paquet. 1.222 +Exemple pour mpd: 1.223 +</p> 1.224 +<pre> 1.225 + # tazpkg depends mpd 1.226 + # tazpkg rdepends mpd 1.227 +</pre> 1.228 +<a name="add-undigest"></a> 1.229 +<h3><font color="#6c0023">add-undigest ou setup-undigest</font></h3> 1.230 +<p> 1.231 +Ajoute l'URL d'un miroir non offciel pour tester des nouveaux paquets. 1.232 +Met à jour le fichier /var/lib/tazpkg/undiest/'repository'. Cette URL doit 1.233 +pointer un répertoire avec les paquets et 'packages.list' : 1.234 +</p> 1.235 +<pre> 1.236 + # tazpkg add-undigest public-repository http://my.home.org/slitaz 1.237 + # tazpkg setup-undigest local-repository /home/slitaz/packages 1.238 +</pre> 1.239 +<a name="remove-undigest"></a> 1.240 +<h3><font color="#6c0023">remove-undigest</font></h3> 1.241 +<p> 1.242 +Retire l'URL d'un miroir non offciel : 1.243 +</p> 1.244 +<pre> 1.245 + # tazpkg remove-undigest my-repository 1.246 +</pre> 1.247 +<a name="list-undigest"></a> 1.248 +<h3><font color="#6c0023">list-undigest</font></h3> 1.249 +<p> 1.250 +Liste les miroirs non offciels : 1.251 +</p> 1.252 +<pre> 1.253 + # tazpkg list-undigest 1.254 +</pre> 1.255 +<a name="convert"></a> 1.256 +<h3><font color="#6c0023">convert</font></h3> 1.257 +<p> 1.258 +Convertit un paquet Debian (.deb, .udeb), Redhat (.rpm), Slackware (.tgz), 1.259 +Archlinux (.pkg.tar.gz) ou ipk (.ipk) en paquet SliTaz (.tazpkg) 1.260 +</p> 1.261 +<pre> 1.262 + # tazpkg convert unpaquet.rpm 1.263 +</pre> 1.264 +<a name="set-release"></a> 1.265 +<h3><font color="#6c0023">set-release</font></h3> 1.266 +<p> 1.267 +Cette commande change la version courant et met à jour tous les paquets : 1.268 +</p> 1.269 +<pre> 1.270 + # tazpkg set-release cooking 1.271 +</pre> 1.272 +<a name="bugs"></a> 1.273 +<h3><font color="#6c0023">bugs</font></h3> 1.274 +<p> 1.275 +Affiche la liste des bugs connus dans les paquets : 1.276 +</p> 1.277 +<pre> 1.278 + # tazpkg bugs 1.279 +</pre> 1.280 1.281 <h2>MAINTENEUR</h2> 1.282 <p>