How To Install hatch on Fedora 34

hatch is A modern project, package, and virtual env manager

Introduction

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

What is hatch

Hatch is a productivity tool designed to make your workflow easier and more efficient, while also reducing the number of other tools you need to know. It aims to make the 90% use cases as pleasant as possible.

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

Install hatch on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install hatch

Install hatch on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove hatch

hatch Package Contents on Fedora 34

/usr/bin/hatch
/usr/lib/python3.9/site-packages/hatch
/usr/lib/python3.9/site-packages/hatch-0.23.0-py3.9.egg-info
/usr/lib/python3.9/site-packages/hatch-0.23.0-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/hatch-0.23.0-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/hatch-0.23.0-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/hatch-0.23.0-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/hatch-0.23.0-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/hatch-0.23.0-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/hatch/__init__.py
/usr/lib/python3.9/site-packages/hatch/__main__.py
/usr/lib/python3.9/site-packages/hatch/__pycache__
/usr/lib/python3.9/site-packages/hatch/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/__main__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/__main__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/build.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/build.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/clean.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/clean.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/cli.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/cli.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/conda.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/conda.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/create.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/create.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/env.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/env.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/exceptions.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/exceptions.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/grow.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/grow.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/project.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/project.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/settings.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/settings.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/shells.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/shells.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/structures.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/structures.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/venv.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/__pycache__/venv.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/build.py
/usr/lib/python3.9/site-packages/hatch/clean.py
/usr/lib/python3.9/site-packages/hatch/cli.py
/usr/lib/python3.9/site-packages/hatch/commands
/usr/lib/python3.9/site-packages/hatch/commands/__init__.py
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/build.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/build.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/clean.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/clean.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/conda.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/conda.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/env.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/env.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/grow.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/grow.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/init.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/init.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/install.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/install.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/new.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/new.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/pypath.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/pypath.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/python.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/python.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/release.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/release.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/shed.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/shed.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/shell.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/shell.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/test.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/test.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/uninstall.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/uninstall.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/update.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/update.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/commands/__pycache__/utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/commands/build.py
/usr/lib/python3.9/site-packages/hatch/commands/clean.py
/usr/lib/python3.9/site-packages/hatch/commands/conda.py
/usr/lib/python3.9/site-packages/hatch/commands/config.py
/usr/lib/python3.9/site-packages/hatch/commands/env.py
/usr/lib/python3.9/site-packages/hatch/commands/grow.py
/usr/lib/python3.9/site-packages/hatch/commands/init.py
/usr/lib/python3.9/site-packages/hatch/commands/install.py
/usr/lib/python3.9/site-packages/hatch/commands/new.py
/usr/lib/python3.9/site-packages/hatch/commands/pypath.py
/usr/lib/python3.9/site-packages/hatch/commands/python.py
/usr/lib/python3.9/site-packages/hatch/commands/release.py
/usr/lib/python3.9/site-packages/hatch/commands/shed.py
/usr/lib/python3.9/site-packages/hatch/commands/shell.py
/usr/lib/python3.9/site-packages/hatch/commands/test.py
/usr/lib/python3.9/site-packages/hatch/commands/uninstall.py
/usr/lib/python3.9/site-packages/hatch/commands/update.py
/usr/lib/python3.9/site-packages/hatch/commands/utils.py
/usr/lib/python3.9/site-packages/hatch/conda.py
/usr/lib/python3.9/site-packages/hatch/config.py
/usr/lib/python3.9/site-packages/hatch/create.py
/usr/lib/python3.9/site-packages/hatch/env.py
/usr/lib/python3.9/site-packages/hatch/exceptions.py
/usr/lib/python3.9/site-packages/hatch/files
/usr/lib/python3.9/site-packages/hatch/files/__init__.py
/usr/lib/python3.9/site-packages/hatch/files/__pycache__
/usr/lib/python3.9/site-packages/hatch/files/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/__pycache__/pyproject.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/__pycache__/pyproject.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/__pycache__/setup.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/__pycache__/setup.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/ci
/usr/lib/python3.9/site-packages/hatch/files/ci/__init__.py
/usr/lib/python3.9/site-packages/hatch/files/ci/__pycache__
/usr/lib/python3.9/site-packages/hatch/files/ci/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/ci/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/ci/__pycache__/tox.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/ci/__pycache__/tox.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/ci/__pycache__/travis.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/ci/__pycache__/travis.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/ci/tox.py
/usr/lib/python3.9/site-packages/hatch/files/ci/travis.py
/usr/lib/python3.9/site-packages/hatch/files/coverage
/usr/lib/python3.9/site-packages/hatch/files/coverage/__init__.py
/usr/lib/python3.9/site-packages/hatch/files/coverage/__pycache__
/usr/lib/python3.9/site-packages/hatch/files/coverage/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/coverage/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/coverage/__pycache__/codecov.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/coverage/__pycache__/codecov.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/coverage/__pycache__/coveragerc.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/coverage/__pycache__/coveragerc.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/coverage/codecov.py
/usr/lib/python3.9/site-packages/hatch/files/coverage/coveragerc.py
/usr/lib/python3.9/site-packages/hatch/files/ignore
/usr/lib/python3.9/site-packages/hatch/files/ignore/__init__.py
/usr/lib/python3.9/site-packages/hatch/files/ignore/__pycache__
/usr/lib/python3.9/site-packages/hatch/files/ignore/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/ignore/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/ignore/__pycache__/git.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/ignore/__pycache__/git.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/ignore/git.py
/usr/lib/python3.9/site-packages/hatch/files/licenses
/usr/lib/python3.9/site-packages/hatch/files/licenses/__init__.py
/usr/lib/python3.9/site-packages/hatch/files/licenses/__pycache__
/usr/lib/python3.9/site-packages/hatch/files/licenses/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/licenses/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/licenses/__pycache__/apache2.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/licenses/__pycache__/apache2.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/licenses/__pycache__/cc0.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/licenses/__pycache__/cc0.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/licenses/__pycache__/mit.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/licenses/__pycache__/mit.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/licenses/__pycache__/mpl.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/licenses/__pycache__/mpl.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/licenses/apache2.py
/usr/lib/python3.9/site-packages/hatch/files/licenses/cc0.py
/usr/lib/python3.9/site-packages/hatch/files/licenses/mit.py
/usr/lib/python3.9/site-packages/hatch/files/licenses/mpl.py
/usr/lib/python3.9/site-packages/hatch/files/pyproject.py
/usr/lib/python3.9/site-packages/hatch/files/readme
/usr/lib/python3.9/site-packages/hatch/files/readme/__init__.py
/usr/lib/python3.9/site-packages/hatch/files/readme/__pycache__
/usr/lib/python3.9/site-packages/hatch/files/readme/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/readme/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/readme/__pycache__/markdown.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/readme/__pycache__/markdown.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/readme/__pycache__/restructuredtext.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/readme/__pycache__/restructuredtext.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/readme/markdown.py
/usr/lib/python3.9/site-packages/hatch/files/readme/restructuredtext.py
/usr/lib/python3.9/site-packages/hatch/files/setup.py
/usr/lib/python3.9/site-packages/hatch/files/vc
/usr/lib/python3.9/site-packages/hatch/files/vc/__init__.py
/usr/lib/python3.9/site-packages/hatch/files/vc/__pycache__
/usr/lib/python3.9/site-packages/hatch/files/vc/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/vc/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/vc/__pycache__/git.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hatch/files/vc/__pycache__/git.cpython-39.pyc
/usr/lib/python3.9/site-packages/hatch/files/vc/git.py
/usr/lib/python3.9/site-packages/hatch/grow.py
/usr/lib/python3.9/site-packages/hatch/project.py
/usr/lib/python3.9/site-packages/hatch/settings.py
/usr/lib/python3.9/site-packages/hatch/shells.py
/usr/lib/python3.9/site-packages/hatch/structures.py
/usr/lib/python3.9/site-packages/hatch/utils.py
/usr/lib/python3.9/site-packages/hatch/venv.py
/usr/share/doc/hatch
/usr/share/doc/hatch/README.rst
/usr/share/licenses/hatch
/usr/share/licenses/hatch/LICENSE-APACHE
/usr/share/licenses/hatch/LICENSE-MIT

References

Summary

In this tutorial we learn how to install hatch on Fedora 34 using yum and dnf.