poezio/doc/en/install.txt

119 lines
3.4 KiB
Text
Raw Normal View History

2011-11-01 22:52:22 +00:00
Install
=======
2012-12-31 01:35:41 +00:00
NOTE: Python 3.2 or better is highly recommended, as we do not officially
support python 3.1 (although we do try to keep things running).
2011-11-01 22:52:22 +00:00
Poezio in the GNU/Linux distributions
-------------------------------------
2011-11-08 19:05:33 +00:00
As far as I know, Poezio is available in the following distributions, you just
have to install it by using the package manager of the distribution, if you're
using one of these.
* *Archlinux*: A poezio and poezio-git packages are in AUR (use your favourite
AUR wrapper to install them)
* *Frugalware*: Just use pacmang-g2 to install the poezio package. (Thanks to
its maintainer, Kooda)
2011-11-01 22:52:22 +00:00
* *Debian*: Use an other distro.
2011-11-08 19:05:33 +00:00
(If an other distribution provides a poezio package, please tell us and we will
add it to the list)
2011-11-01 22:52:22 +00:00
Install poezio from the sources
-------------------------------
2011-11-08 19:05:33 +00:00
You can download poezio's https://dev.louiz.org/project/poezio/download[stable
sources] or fetch the development version (trunk), using git:
2011-11-01 22:52:22 +00:00
============================
git clone https://git.louiz.org/poezio
============================
2013-01-17 16:52:37 +00:00
NOTE: To clone the repo, which uses a self-signed certificated, you can
prefix the clone command with GIT_SSL_NO_VERIFY=1.
2011-11-08 19:05:33 +00:00
In order for poezio to correctly work, you need the libs SleekXMPP and
dnspython. You can install them by downloading it from the
https://github.com/fritzy/SleekXMPP/[SleekXMPP] page and the
http://www.dnspython.org/[dnspython] page , but you'll need the development
version of SleekXMPP. Alternatively, you can download poezio's sources
including SleekXMPP and dnspython, that's the easier way.
2011-11-01 22:52:22 +00:00
=== Dependencies ===
NOTE: If your python3 version is too old because of debian (e.g. < 3.2), you
should install the python3-argparse package if it exists, or use
pip3/virtualenvs to install it.
2011-11-01 22:52:22 +00:00
If you want to install SleekXMPP and dnspython by yourself, follow these
instructions. Else, go to the next section (recommended).
2011-11-01 22:52:22 +00:00
Download SleekXMPP
============================
git clone git://github.com/fritzy/SleekXMPP.git
2011-11-01 22:52:22 +00:00
============================
Make sure you're using the develop branch by typing
============================
cd SleekXMPP
git checkout develop
============================
Install SleekXMPP with
============================
python3 setup.py build
su -c "python3 setup.py install"
============================
Install the dnspython3 package on your distribution or install it manually:
2011-11-01 22:52:22 +00:00
============================
wget -O dnspython.tgz http://www.dnspython.org/kits3/1.10.0/dnspython3-1.10.0.tar.gz
tar xvf dnspython.tgz
2011-11-01 22:52:22 +00:00
cd dnspython3-1.10.0
2011-11-01 22:52:22 +00:00
============================
And do the same again:
============================
python3 setup.py build
su -c "python3 setup.py install"
============================
=== Poezio installation ===
2011-11-08 19:05:33 +00:00
If you skipped the installation of the dependencies and you only want to test
poezio without a system-wide install, do, in the _poezio_ directory:
2011-11-01 22:52:22 +00:00
============================
sh update.sh
============================
If you have git installed, it will download and update locally the
2011-11-08 19:05:33 +00:00
libraries for you.
2011-11-01 22:52:22 +00:00
If you don't want to install poezio but just test it (or keep a development
version), do:
2011-11-01 22:52:22 +00:00
============================
./launch.sh
============================
To install poezio, do, as root (or sudo with ubuntu or whatever):
============================
make install
============================
And then start it with:
============================
poezio
============================