This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 207f65b542 Add better description for venv quickstart installation
(#28957)
207f65b542 is described below
commit 207f65b542a8aa212f04a9d252762643cfd67a74
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Jan 16 11:44:51 2023 +0100
Add better description for venv quickstart installation (#28957)
When installing airflow in venv for development you need more system
packages to be present on "clean" Debian/Ubuntu/Mint - this update
adds a bit more complete list and also adds a list of those packages
to install devel_all extra.
---
CONTRIBUTORS_QUICK_START.rst | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/CONTRIBUTORS_QUICK_START.rst b/CONTRIBUTORS_QUICK_START.rst
index 694063209e..6e88f01f0f 100644
--- a/CONTRIBUTORS_QUICK_START.rst
+++ b/CONTRIBUTORS_QUICK_START.rst
@@ -147,11 +147,26 @@ Pyenv and setting up virtual-env
1. Install pyenv and configure your shell's environment for Pyenv as suggested
in Pyenv `README
<https://github.com/pyenv/pyenv/blob/master/README.md#installation>`_
-2. After installing pyenv, you need to install a few more required packages
for Airflow
+2. After installing pyenv, you need to install a few more required packages
for Airflow. The below command adds
+ basic system-level dependencies on Debian/Ubuntu-like system. You will have
to adapt it to install similar packages
+ if your operating system is MacOS or another flavour of Linux
+
+
+.. code-block:: bash
+
+ $ sudo apt install openssl sqlite default-libmysqlclient-dev
libmysqlclient-dev postgresql
+
+If you want to install all airflow providers, more system dependencies might
be needed. For example on Debian/Ubuntu
+like system, this command will install all necessary dependencies that should
be installed when you use ``devel_all``
+extra while installing airflow.
.. code-block:: bash
- $ sudo apt-get install openssl sqlite default-libmysqlclient-dev
libmysqlclient-dev postgresql
+ $ sudo apt install apt-transport-https apt-utils build-essential
ca-certificates dirmngr \
+ freetds-bin freetds-dev git gosu graphviz graphviz-dev krb5-user ldap-utils
libffi-dev \
+ libkrb5-dev libldap2-dev libpq-dev libsasl2-2 libsasl2-dev libsasl2-modules \
+ libssl-dev locales lsb-release openssh-client sasl2-bin \
+ software-properties-common sqlite3 sudo unixodbc unixodbc-dev
3. Restart your shell so the path changes take effect and verifying
installation