Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: Add install instructions for Alpine Linux #520

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mil
Copy link
Contributor

@mil mil commented Oct 10, 2024

Adds install instructions for Alpine Linux

@CLAassistant
Copy link

CLAassistant commented Oct 10, 2024

CLA assistant check
All committers have signed the CLA.

@davidgamez
Copy link
Member

davidgamez commented Oct 16, 2024

Hi @mil, thanks for your contribution(s). We don't have Alpine Linux in-house, and we have limited skills in Linux, so I'm sorry if I'm missing something obvious that a more expert user can catch.
I followed the steps in docker and also in AWS with a community-provided Alpine distributions. In both cases, I got the following error:

ERROR: unable to select packages:
  libspatialindex-dev (no such package):
    required by: world[libspatialindex-dev]

In removed the libspatialindex-dev and I was able to install the requirements but first I needed to install some additional packages that were not in the fresh Alpine distribution: g++ gcc musl-dev libffi-dev. This is the list of packages that I installed before being able to install libs from requirements.txt:

apk add --no-cache gdal-dev g++ gcc musl-dev proj proj-dev proj-util python3-dev libffi-dev

I just want to make sure that an Alpine user gets these instructions and knows how to fix potential issues. Does the libs that I installed make sense to mention them in the readme? Do we need to mention particular requirements for the Alpine distribution? Any other thoughts?
Thanks again for your precious time and effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants