mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 04:46:37 +02:00
137 lines
3.9 KiB
XML
137 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
WeeChat documentation (french version)
|
|
|
|
Copyright (c) 2003-2008 by FlashCode <flashcode@flashtux.org>
|
|
|
|
This manual is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This manual is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
<chapter id="chapInstallation">
|
|
<title>Installation</title>
|
|
|
|
<para>
|
|
Ce chapitre explique comment installer WeeChat.
|
|
</para>
|
|
|
|
<section id="secBinaryPackages">
|
|
<title>Paquets binaires</title>
|
|
|
|
<para>
|
|
Les paquets binaires sont disponibles pour beaucoup de distributions,
|
|
dont :
|
|
<itemizedlist>
|
|
<listitem>
|
|
<para>
|
|
Debian (ou toute distribution compatible Debian) :
|
|
<userinput>apt-get install weechat</userinput>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Mandriva/RedHat (ou toute distribution compatible avec les RPM) :
|
|
<userinput>
|
|
rpm -i /chemin/vers/weechat-x.y.z-1.i386.rpm
|
|
</userinput>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Gentoo :
|
|
<userinput>emerge weechat</userinput>
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
Des paquets additionnels peuvent être utiles également, comme
|
|
weechat-plugins.
|
|
|
|
Pour les autres distributions supportées, merci de vous
|
|
référer au manuel de la distribution pour la méthode d'installation.
|
|
</para>
|
|
|
|
</section>
|
|
|
|
<section id="secSourcePackage">
|
|
<title>Paquet source</title>
|
|
|
|
<section id="secCompileWithAutotools">
|
|
<title>Compiler avec les Autotools</title>
|
|
|
|
<para>
|
|
Dans une console ou un terminal :
|
|
<screen><prompt>$ </prompt><userinput>./configure</userinput>
|
|
<prompt>$ </prompt><userinput>make</userinput></screen>
|
|
</para>
|
|
<para>
|
|
Obtenez les droits root et installez WeeChat :
|
|
<screen><prompt>$ </prompt><userinput>su</userinput>
|
|
(entrez le mot de passe root)
|
|
<prompt># </prompt><userinput>make install</userinput></screen>
|
|
</para>
|
|
|
|
</section>
|
|
|
|
<section id="secCompileWithCmake">
|
|
<title>Compiler avec Cmake</title>
|
|
|
|
<para>
|
|
Dans une console ou un terminal :
|
|
<screen><prompt>$ </prompt><userinput>mkdir build</userinput>
|
|
<prompt>$ </prompt><userinput>cd build</userinput>
|
|
<prompt>$ </prompt><userinput>cmake ..</userinput>
|
|
<prompt>$ </prompt><userinput>make</userinput></screen>
|
|
</para>
|
|
<para>
|
|
Obtenez les droits root et installez WeeChat :
|
|
<screen><prompt>$ </prompt><userinput>su</userinput>
|
|
(entrez le mot de passe root)
|
|
<prompt># </prompt><userinput>make install</userinput></screen>
|
|
</para>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
<section id="secGITSources">
|
|
<title>Sources GIT</title>
|
|
|
|
<para>
|
|
Attention : les sources GIT sont réservés aux utilisateurs
|
|
avancés : il se peut que WeeChat ne compile pas et qu'il soit
|
|
très instable. Vous êtes prévenus !
|
|
</para>
|
|
|
|
<para>
|
|
Pour récupérer les sources GIT, tapez cette commande :
|
|
<screen><prompt>$ </prompt><userinput>git-clone git://git.sv.gnu.org/weechat.git</userinput></screen>
|
|
</para>
|
|
|
|
<para>
|
|
Si vous utilisez les Autotools (et non cmake), exécutez ce script :
|
|
<userinput>./autogen.sh</userinput>
|
|
</para>
|
|
|
|
<para>
|
|
Suivez alors les instructions du paquet source
|
|
(voir <xref linkend="secSourcePackage" />)
|
|
</para>
|
|
|
|
</section>
|
|
|
|
</chapter>
|