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:
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.
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 v184.108.40.206
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.
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:
In case, you did the single-user installation, simply delete your offlineimap directory.
That’s it. Have fun without OfflineImap.