1
0
mirror of https://github.com/OfflineIMAP/offlineimap.git synced 2024-06-26 07:29:03 +02:00

INSTALL: explain how to install offlineimap using git

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2011-05-04 19:03:35 +02:00
parent f3249e0856
commit 01b390bb71

View File

@ -58,27 +58,42 @@ program.
System-Wide Installation, Other System-Wide Installation, Other
=============================== ===============================
Download the tar.gz version of the package from the website. Then run these Check your distribution packaging tool, OfflineIMAP may already be packaged for
commands, making sure that you are the "root" user first:: you.
tar -zxvf offlineimap_x.y.z.tar.gz System-Wide Installation, From source
cd offlineimap-x.y.z =====================================
python2.2 setup.py install
On some systems, you will need to use python instead of python2.6. Next, Get your own copy of the official git repository at `OfflineIMAP`_::
proceed to below. You will type offlineimap to invoke the program.
git clone git://github.com/nicolas33/offlineimap.git
This will download all the sources with history. By default, git set up the
local master branch up which is most likely what you want. If not, you can
checkout a particular release::
cd offlineimap
git checkout -b local_version v6.3.3
The latter creates a local branch called "local_version" of the v6.3.3 release.
Then run these commands, to build the python package::
make clean
make
Finally, install the program (as root)::
python setup.py install
Next, proceed to below. You will type offlineimap to invoke the program.
Single-Account Installation Single-Account Installation
=========================== ===========================
Download the tar.gz version of the package from the website. Then run these Download the git repository as described above. Instead of installing the
commands:: program as root, you type `./offlineimap.py`; there is no installation step
necessary.
tar -zxvf offlineimap_x.y.z.tar.gz
cd offlineimap-x.y.z
When you want to run `OfflineIMAP`_, you will issue the cd command as above and
then type `./offlineimap.py`; there is no installation step necessary.
============= =============
Configuration Configuration