# Note: depends on libffi # Note: depends on pkg-config # Note: depends on geos # Note: depends on Python or Python2 wget -c https://github.com/Toblerity/Shapely/archive/1.7.1/Shapely-1.7.1.tar.gz tar -xzf Shapely-1.7.1.tar.gz cd Shapely-1.7.1 if which python; then python setup.py build python setup.py install # as root fi if which python3; then python3 setup.py build python3 setup.py install # as root fi