How To Install python3-phyghtmap on Fedora 36

In this tutorial we learn how to install python3-phyghtmap in Fedora 36. python3-phyghtmap is Generate OSM contour lines from NASA SRTM data

Introduction

In this tutorial we learn how to install python3-phyghtmap on Fedora 36.

What is python3-phyghtmap

phyghtmap is a little program which lets you easily generate OSM contour lines from NASA SRTM data.

We can use yum or dnf to install python3-phyghtmap on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-phyghtmap.

Install python3-phyghtmap on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-phyghtmap

Install python3-phyghtmap on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-phyghtmap

How To Uninstall python3-phyghtmap on Fedora 36

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

sudo dnf remove python3-phyghtmap

python3-phyghtmap Package Contents on Fedora 36

/usr/bin/phyghtmap
/usr/lib/python3.10/site-packages/phyghtmap
/usr/lib/python3.10/site-packages/phyghtmap-2.21-py3.10.egg-info
/usr/lib/python3.10/site-packages/phyghtmap-2.21-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/phyghtmap-2.21-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/phyghtmap-2.21-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/phyghtmap-2.21-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/phyghtmap-2.21-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/phyghtmap/NASASRTMUtil.py
/usr/lib/python3.10/site-packages/phyghtmap/__init__.py
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/NASASRTMUtil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/NASASRTMUtil.cpython-310.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/configUtil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/configUtil.cpython-310.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/hgt.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/hgt.cpython-310.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/o5mUtil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/o5mUtil.cpython-310.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/osmUtil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/osmUtil.cpython-310.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/pbfUtil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/pbfUtil.cpython-310.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/varint.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/phyghtmap/__pycache__/varint.cpython-310.pyc
/usr/lib/python3.10/site-packages/phyghtmap/configUtil.py
/usr/lib/python3.10/site-packages/phyghtmap/hgt.py
/usr/lib/python3.10/site-packages/phyghtmap/main.py
/usr/lib/python3.10/site-packages/phyghtmap/o5mUtil.py
/usr/lib/python3.10/site-packages/phyghtmap/osmUtil.py
/usr/lib/python3.10/site-packages/phyghtmap/pbfUtil.py
/usr/lib/python3.10/site-packages/phyghtmap/varint.py
/usr/share/doc/python3-phyghtmap
/usr/share/doc/python3-phyghtmap/COPYRIGHT
/usr/share/doc/python3-phyghtmap/Changelog
/usr/share/doc/python3-phyghtmap/LICENSE_GPL-2
/usr/share/doc/python3-phyghtmap/README
/usr/share/man/man1/phyghtmap.1.gz

References

Summary

In this tutorial we learn how to install python3-phyghtmap on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).