How To Install hatch on Fedora 36

In this tutorial we learn how to install hatch in Fedora 36. hatch is A modern project, package, and virtual env manager

Introduction

In this tutorial we learn how to install hatch on Fedora 36.

What is hatch

Hatch is a modern, extensible Python project manager. Features · Standardized build system with reproducible builds by default · Robust environment management with support for custom scripts · Easy publishing to PyPI or other sources · Version management · Configurable project generation with sane defaults · Responsive CLI, ~2-3x faster than equivalent tools

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

Install hatch 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 hatch using dnf by running the following command:

sudo dnf -y install hatch

Install hatch 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 hatch using yum by running the following command:

sudo yum -y install hatch

How To Uninstall hatch on Fedora 36

To uninstall only the hatch package we can use the following command:

sudo dnf remove hatch

hatch Package Contents on Fedora 36

/usr/bin/hatch
/usr/lib/python3.10/site-packages/hatch
/usr/lib/python3.10/site-packages/hatch-0.23.1.dist-info
/usr/lib/python3.10/site-packages/hatch-0.23.1.dist-info/AUTHORS.rst
/usr/lib/python3.10/site-packages/hatch-0.23.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/hatch-0.23.1.dist-info/LICENSE-APACHE
/usr/lib/python3.10/site-packages/hatch-0.23.1.dist-info/LICENSE-MIT
/usr/lib/python3.10/site-packages/hatch-0.23.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/hatch-0.23.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/hatch-0.23.1.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/hatch-0.23.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/hatch/__init__.py
/usr/lib/python3.10/site-packages/hatch/__main__.py
/usr/lib/python3.10/site-packages/hatch/__pycache__
/usr/lib/python3.10/site-packages/hatch/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/build.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/build.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/clean.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/clean.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/cli.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/cli.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/conda.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/conda.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/create.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/create.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/env.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/env.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/grow.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/grow.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/project.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/project.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/settings.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/settings.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/shells.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/shells.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/structures.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/structures.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/venv.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/__pycache__/venv.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/build.py
/usr/lib/python3.10/site-packages/hatch/clean.py
/usr/lib/python3.10/site-packages/hatch/cli.py
/usr/lib/python3.10/site-packages/hatch/commands
/usr/lib/python3.10/site-packages/hatch/commands/__init__.py
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/build.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/build.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/clean.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/clean.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/conda.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/conda.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/env.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/env.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/grow.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/grow.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/init.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/init.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/install.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/install.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/new.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/new.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/pypath.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/pypath.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/python.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/python.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/release.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/release.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/shed.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/shed.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/shell.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/shell.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/test.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/uninstall.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/uninstall.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/update.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/update.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/commands/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/commands/build.py
/usr/lib/python3.10/site-packages/hatch/commands/clean.py
/usr/lib/python3.10/site-packages/hatch/commands/conda.py
/usr/lib/python3.10/site-packages/hatch/commands/config.py
/usr/lib/python3.10/site-packages/hatch/commands/env.py
/usr/lib/python3.10/site-packages/hatch/commands/grow.py
/usr/lib/python3.10/site-packages/hatch/commands/init.py
/usr/lib/python3.10/site-packages/hatch/commands/install.py
/usr/lib/python3.10/site-packages/hatch/commands/new.py
/usr/lib/python3.10/site-packages/hatch/commands/pypath.py
/usr/lib/python3.10/site-packages/hatch/commands/python.py
/usr/lib/python3.10/site-packages/hatch/commands/release.py
/usr/lib/python3.10/site-packages/hatch/commands/shed.py
/usr/lib/python3.10/site-packages/hatch/commands/shell.py
/usr/lib/python3.10/site-packages/hatch/commands/test.py
/usr/lib/python3.10/site-packages/hatch/commands/uninstall.py
/usr/lib/python3.10/site-packages/hatch/commands/update.py
/usr/lib/python3.10/site-packages/hatch/commands/utils.py
/usr/lib/python3.10/site-packages/hatch/conda.py
/usr/lib/python3.10/site-packages/hatch/config.py
/usr/lib/python3.10/site-packages/hatch/create.py
/usr/lib/python3.10/site-packages/hatch/env.py
/usr/lib/python3.10/site-packages/hatch/exceptions.py
/usr/lib/python3.10/site-packages/hatch/files
/usr/lib/python3.10/site-packages/hatch/files/__init__.py
/usr/lib/python3.10/site-packages/hatch/files/__pycache__
/usr/lib/python3.10/site-packages/hatch/files/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/__pycache__/pyproject.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/__pycache__/pyproject.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/__pycache__/setup.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/__pycache__/setup.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/ci
/usr/lib/python3.10/site-packages/hatch/files/ci/__init__.py
/usr/lib/python3.10/site-packages/hatch/files/ci/__pycache__
/usr/lib/python3.10/site-packages/hatch/files/ci/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/ci/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/ci/__pycache__/tox.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/ci/__pycache__/tox.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/ci/__pycache__/travis.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/ci/__pycache__/travis.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/ci/tox.py
/usr/lib/python3.10/site-packages/hatch/files/ci/travis.py
/usr/lib/python3.10/site-packages/hatch/files/coverage
/usr/lib/python3.10/site-packages/hatch/files/coverage/__init__.py
/usr/lib/python3.10/site-packages/hatch/files/coverage/__pycache__
/usr/lib/python3.10/site-packages/hatch/files/coverage/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/coverage/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/coverage/__pycache__/codecov.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/coverage/__pycache__/codecov.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/coverage/__pycache__/coveragerc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/coverage/__pycache__/coveragerc.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/coverage/codecov.py
/usr/lib/python3.10/site-packages/hatch/files/coverage/coveragerc.py
/usr/lib/python3.10/site-packages/hatch/files/ignore
/usr/lib/python3.10/site-packages/hatch/files/ignore/__init__.py
/usr/lib/python3.10/site-packages/hatch/files/ignore/__pycache__
/usr/lib/python3.10/site-packages/hatch/files/ignore/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/ignore/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/ignore/__pycache__/git.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/ignore/__pycache__/git.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/ignore/git.py
/usr/lib/python3.10/site-packages/hatch/files/licenses
/usr/lib/python3.10/site-packages/hatch/files/licenses/__init__.py
/usr/lib/python3.10/site-packages/hatch/files/licenses/__pycache__
/usr/lib/python3.10/site-packages/hatch/files/licenses/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/licenses/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/licenses/__pycache__/apache2.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/licenses/__pycache__/apache2.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/licenses/__pycache__/cc0.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/licenses/__pycache__/cc0.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/licenses/__pycache__/mit.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/licenses/__pycache__/mit.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/licenses/__pycache__/mpl.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/licenses/__pycache__/mpl.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/licenses/apache2.py
/usr/lib/python3.10/site-packages/hatch/files/licenses/cc0.py
/usr/lib/python3.10/site-packages/hatch/files/licenses/mit.py
/usr/lib/python3.10/site-packages/hatch/files/licenses/mpl.py
/usr/lib/python3.10/site-packages/hatch/files/pyproject.py
/usr/lib/python3.10/site-packages/hatch/files/readme
/usr/lib/python3.10/site-packages/hatch/files/readme/__init__.py
/usr/lib/python3.10/site-packages/hatch/files/readme/__pycache__
/usr/lib/python3.10/site-packages/hatch/files/readme/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/readme/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/readme/__pycache__/markdown.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/readme/__pycache__/markdown.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/readme/__pycache__/restructuredtext.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/readme/__pycache__/restructuredtext.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/readme/markdown.py
/usr/lib/python3.10/site-packages/hatch/files/readme/restructuredtext.py
/usr/lib/python3.10/site-packages/hatch/files/setup.py
/usr/lib/python3.10/site-packages/hatch/files/vc
/usr/lib/python3.10/site-packages/hatch/files/vc/__init__.py
/usr/lib/python3.10/site-packages/hatch/files/vc/__pycache__
/usr/lib/python3.10/site-packages/hatch/files/vc/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/vc/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/vc/__pycache__/git.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hatch/files/vc/__pycache__/git.cpython-310.pyc
/usr/lib/python3.10/site-packages/hatch/files/vc/git.py
/usr/lib/python3.10/site-packages/hatch/grow.py
/usr/lib/python3.10/site-packages/hatch/project.py
/usr/lib/python3.10/site-packages/hatch/settings.py
/usr/lib/python3.10/site-packages/hatch/shells.py
/usr/lib/python3.10/site-packages/hatch/structures.py
/usr/lib/python3.10/site-packages/hatch/utils.py
/usr/lib/python3.10/site-packages/hatch/venv.py
/usr/share/doc/hatch
/usr/share/doc/hatch/COMMANDS.rst
/usr/share/doc/hatch/CONFIG.rst
/usr/share/doc/hatch/HISTORY.rst
/usr/share/doc/hatch/README.rst
/usr/share/man/man1/hatch-build.1.gz
/usr/share/man/man1/hatch-clean.1.gz
/usr/share/man/man1/hatch-conda.1.gz
/usr/share/man/man1/hatch-config.1.gz
/usr/share/man/man1/hatch-env.1.gz
/usr/share/man/man1/hatch-grow.1.gz
/usr/share/man/man1/hatch-init.1.gz
/usr/share/man/man1/hatch-install.1.gz
/usr/share/man/man1/hatch-new.1.gz
/usr/share/man/man1/hatch-pypath.1.gz
/usr/share/man/man1/hatch-python.1.gz
/usr/share/man/man1/hatch-release.1.gz
/usr/share/man/man1/hatch-shed.1.gz
/usr/share/man/man1/hatch-shell.1.gz
/usr/share/man/man1/hatch-test.1.gz
/usr/share/man/man1/hatch-uninstall.1.gz
/usr/share/man/man1/hatch-update.1.gz
/usr/share/man/man1/hatch-use.1.gz
/usr/share/man/man1/hatch.1.gz

References

Summary

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