Contents
In order to use OfflineIMAP, you need to have these conditions satisfied:
Installing OfflineImap should usually be quite easy, as you can simply unpack and run OfflineImap in place if you wish to do so. There are a number of options though:
system-wide :ref:`installation via your distribution package manager <inst_pkg_man>`
system-wide or single user :ref:`installation from the source package <inst_src_tar>`
system-wide or single user :ref:`installation from a git checkout <inst_git>`
Having installed OfflineImap, you will need to configure it, to be actually useful. Please check the :ref:`Configuration` section in the :doc:`MANUAL` for more information on the configuration step.
The easiest way to install OfflineIMAP is via your distribution's package manager. OfflineImap is available under the name offlineimap in most Linux and BSD distributions.
Unpack and continue with the :ref:`system-wide installation <system_wide_inst>` or the :ref:`single-user installation <single_user_inst>` section.
Get your own copy of the official git repository at OfflineIMAP:
git clone git://github.com/spaetz/offlineimap.git
This will download the source with history. By default, git sets up the master branch up, which is most likely what you want. If not, you can checkout a particular release like this:
cd offlineimap git checkout v6.5.2.1
You have now a source tree available and proceed with either the :ref:`system-wide installation <system_wide_inst>` or the :ref:`single-user installation <single_user_inst>`.
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 tofflineimap to invoke the program.
Download the git repository as described above. Instead of installing the program as root, you type ./offlineimap.py; there is no installation step necessary.
If you installed a system-wide installation via "python setup.py install", there are a few files to purge to cleanly uninstall OfflineImap again. Assuming that /usr/local is the standard prefix of your system and that you use python 2.7, you need to:
Delete the OfflineImap installation itself:
/usr/local/lib/python2.7/dist-packages/offlineimap-6.4.4.egg-info /usr/local/lib/python2.7/dist-packages/offlineimap
In case, you did the single-user installation, simply delete your offlineimap directory.
That's it. Have fun without OfflineImap.