How To Install python3-shapely on Rocky Linux 8

In this tutorial we learn how to install python3-shapely on Rocky Linux 8. python3-shapely is Manipulation and analysis of geometric objects in the Cartesian plane

Introduction

In this tutorial we learn how to install python3-shapely on Rocky Linux 8.

What is python3-shapely

Shapely is a package for creation, manipulation, and analysis of planar geometry objects – designed especially for developers of cutting edge geographic information systems. In a nutshell stuff outside the context of a database using idiomatic Python. You can use this package with python-matplotlib and numpy. See README.rst for more information!

We can use yum or dnf to install python3-shapely on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-shapely.

Install python3-shapely on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-shapely using dnf by running the following command:

sudo dnf -y install python3-shapely

Install python3-shapely on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-shapely using yum by running the following command:

sudo yum -y install python3-shapely

How To Uninstall python3-shapely on Rocky Linux 8

To uninstall only the python3-shapely package we can use the following command:

sudo dnf remove python3-shapely

python3-shapely Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/1d31eac20eecb1ebeb677cd042b07d8aadb78e
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/4eef30b5c19ea034fd931bf94af25fb8a7a8e4
/usr/lib64/python3.6/site-packages/Shapely-1.7.1-py3.6.egg-info
/usr/lib64/python3.6/site-packages/Shapely-1.7.1-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/Shapely-1.7.1-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/Shapely-1.7.1-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/Shapely-1.7.1-py3.6.egg-info/requires.txt
/usr/lib64/python3.6/site-packages/Shapely-1.7.1-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/shapely
/usr/lib64/python3.6/site-packages/shapely/__init__.py
/usr/lib64/python3.6/site-packages/shapely/__pycache__
/usr/lib64/python3.6/site-packages/shapely/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/_buildcfg.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/_buildcfg.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/affinity.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/affinity.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/coords.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/coords.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/ctypes_declarations.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/ctypes_declarations.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/errors.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/geos.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/geos.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/impl.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/impl.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/iterops.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/iterops.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/linref.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/linref.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/ops.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/ops.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/predicates.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/predicates.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/prepared.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/prepared.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/strtree.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/strtree.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/topology.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/topology.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/validation.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/validation.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/wkb.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/wkb.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/wkt.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/__pycache__/wkt.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/_buildcfg.py
/usr/lib64/python3.6/site-packages/shapely/_geos.pxi
/usr/lib64/python3.6/site-packages/shapely/affinity.py
/usr/lib64/python3.6/site-packages/shapely/algorithms
/usr/lib64/python3.6/site-packages/shapely/algorithms/__init__.py
/usr/lib64/python3.6/site-packages/shapely/algorithms/__pycache__
/usr/lib64/python3.6/site-packages/shapely/algorithms/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/algorithms/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/algorithms/__pycache__/cga.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/algorithms/__pycache__/cga.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/algorithms/__pycache__/polylabel.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/algorithms/__pycache__/polylabel.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/algorithms/cga.py
/usr/lib64/python3.6/site-packages/shapely/algorithms/polylabel.py
/usr/lib64/python3.6/site-packages/shapely/coords.py
/usr/lib64/python3.6/site-packages/shapely/ctypes_declarations.py
/usr/lib64/python3.6/site-packages/shapely/errors.py
/usr/lib64/python3.6/site-packages/shapely/geometry
/usr/lib64/python3.6/site-packages/shapely/geometry/__init__.py
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/base.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/collection.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/collection.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/geo.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/geo.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/linestring.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/linestring.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/multilinestring.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/multilinestring.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/multipoint.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/multipoint.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/multipolygon.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/multipolygon.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/point.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/point.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/polygon.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/polygon.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/proxy.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/__pycache__/proxy.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/geometry/base.py
/usr/lib64/python3.6/site-packages/shapely/geometry/collection.py
/usr/lib64/python3.6/site-packages/shapely/geometry/geo.py
/usr/lib64/python3.6/site-packages/shapely/geometry/linestring.py
/usr/lib64/python3.6/site-packages/shapely/geometry/multilinestring.py
/usr/lib64/python3.6/site-packages/shapely/geometry/multipoint.py
/usr/lib64/python3.6/site-packages/shapely/geometry/multipolygon.py
/usr/lib64/python3.6/site-packages/shapely/geometry/point.py
/usr/lib64/python3.6/site-packages/shapely/geometry/polygon.py
/usr/lib64/python3.6/site-packages/shapely/geometry/proxy.py
/usr/lib64/python3.6/site-packages/shapely/geos.py
/usr/lib64/python3.6/site-packages/shapely/impl.py
/usr/lib64/python3.6/site-packages/shapely/iterops.py
/usr/lib64/python3.6/site-packages/shapely/linref.py
/usr/lib64/python3.6/site-packages/shapely/ops.py
/usr/lib64/python3.6/site-packages/shapely/predicates.py
/usr/lib64/python3.6/site-packages/shapely/prepared.py
/usr/lib64/python3.6/site-packages/shapely/speedups
/usr/lib64/python3.6/site-packages/shapely/speedups/__init__.py
/usr/lib64/python3.6/site-packages/shapely/speedups/__pycache__
/usr/lib64/python3.6/site-packages/shapely/speedups/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/speedups/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/speedups/_speedups.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/shapely/strtree.py
/usr/lib64/python3.6/site-packages/shapely/topology.py
/usr/lib64/python3.6/site-packages/shapely/validation.py
/usr/lib64/python3.6/site-packages/shapely/vectorized
/usr/lib64/python3.6/site-packages/shapely/vectorized/__init__.py
/usr/lib64/python3.6/site-packages/shapely/vectorized/__pycache__
/usr/lib64/python3.6/site-packages/shapely/vectorized/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/shapely/vectorized/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/shapely/vectorized/_vectorized.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/shapely/wkb.py
/usr/lib64/python3.6/site-packages/shapely/wkt.py
/usr/share/licenses/python3-shapely
/usr/share/licenses/python3-shapely/LICENSE.txt

References

Summary

In this tutorial we learn how to install python3-shapely on Rocky Linux 8 using yum and dnf.