Installation¶
Requirements¶
afew works with python 2.7, 3.1 and 3.2
As well as notmuch and it’s python bindings, you’ll need dbacl for the text classification. On Debian/Ubuntu systems you can install these by doing:
$ sudo aptitude install notmuch python-notmuch dbacl python-dev python-setuptools
Unprivileged Install¶
And I’d like to suggest to install afew as your unprivileged user.
$ python setup.py install --prefix=~/.local
$ mkdir -p ~/.config/afew ~/.local/share/afew/categories
If you do, make sure ~/.local/bin is in your path, say by putting the following in your ~/.bashrc:
if [ -d ~/.local/bin ]; then
PATH=$PATH:~/.local/bin
fi
If you want to do a system wide install you can leave off the –prefix option.