1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-14 06:13:53 -05:00

Added Alpine Linux section to Suggested build environment

Andy
2018-10-30 11:00:20 +10:30
parent 66e20aa2c1
commit 1dac8d9cb4

12
Home.md

@@ -92,6 +92,18 @@ sudo eopkg install git gcc make zlib-devel bzip2-devel readline-devel sqlite3-de
brew install bzip2 libffi libxml2 libxmlsec1 openssl readline sqlite xz zlib
```
* **Alpine Linux:**
```sh
apk add --no-cache git bash build-base libffi-dev openssl-dev bzip2-dev zlib-dev readline-dev sqlite-dev
```
Installation of Python 3.7 may fail due to Python 3.7.0 issue [#34555](https://bugs.python.org/issue34555). Work around is to install the [linux system headers package](https://pkgs.alpinelinux.org/packages?name=linux-headers&branch=edge):
```sh
apk add linux-headers
```
See also [Common build problems](https://github.com/pyenv/pyenv/wiki/Common-build-problems) for further information.