# HG changeset patch # User Andrew Shadura # Date 2016-07-12 21:31:02 # Node ID 23057179017f5760734d7e8639a1ac9910a14e1d # Parent 023d9202481e9cd6e49d5f022f1edcbc18ad3870 docs: add information about extra dependencies we now need We have always needed some development packages, but never said that explicitly. Now that bcrypt also requires libffi-dev, we should mention that. diff --git a/docs/installation.rst b/docs/installation.rst --- a/docs/installation.rst +++ b/docs/installation.rst @@ -26,6 +26,22 @@ The following describes three different have to remove its dependencies manually and make sure that they are not needed by other packages. +Regardless of the installation method you may need to make sure you have +appropriate development packages installed, as installation of some of the +Kallithea dependencies requires a working C compiler and libffi library +headers. Depending on your configuration, you may also need to install +Git and development packages for the database of your choice. + +For Debian and Ubuntu, the following command will ensure that a reasonable +set of dependencies is installed:: + + sudo apt-get install build-essential git python-pip python-virtualenv libffi-dev python-dev + +For Fedora and RHEL-derivatives, the following command will ensure that a +reasonable set of dependencies is installed:: + + sudo yum install gcc git python-pip python-virtualenv libffi-devel python-devel + .. _installation-source: