How To Install pipx on Fedora 36

In this tutorial we learn how to install pipx in Fedora 36. pipx is Install and run Python applications in isolated environments

Introduction

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

What is pipx

pipx is a tool to help you install and run end-user applications written in Python. It’s roughly similar to macOS’s brew, JavaScript’s npx, and Linux’s apt. It’s closely related to pip. In fact, it uses pip, but is focused on installing and managing Python packages that can be run from the command line directly as applications.

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

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

sudo dnf -y install pipx

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

sudo yum -y install pipx

How To Uninstall pipx on Fedora 36

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

sudo dnf remove pipx

pipx Package Contents on Fedora 36

/usr/bin/pipx
/usr/lib/python3.10/site-packages/pipx
/usr/lib/python3.10/site-packages/pipx-1.0.0.dist-info
/usr/lib/python3.10/site-packages/pipx-1.0.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/pipx-1.0.0.dist-info/LICENSE
/usr/lib/python3.10/site-packages/pipx-1.0.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/pipx-1.0.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/pipx-1.0.0.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/pipx-1.0.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/pipx-1.0.0.dist-info/zip-safe
/usr/lib/python3.10/site-packages/pipx/__init__.py
/usr/lib/python3.10/site-packages/pipx/__main__.py
/usr/lib/python3.10/site-packages/pipx/__pycache__
/usr/lib/python3.10/site-packages/pipx/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/animate.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/animate.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/colors.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/colors.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/constants.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/constants.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/emojis.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/emojis.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/interpreter.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/interpreter.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/package_specifier.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/package_specifier.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/pipx_metadata_file.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/pipx_metadata_file.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/shared_libs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/shared_libs.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/venv.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/venv.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/venv_inspect.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/venv_inspect.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/animate.py
/usr/lib/python3.10/site-packages/pipx/colors.py
/usr/lib/python3.10/site-packages/pipx/commands
/usr/lib/python3.10/site-packages/pipx/commands/__init__.py
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/common.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/common.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/ensure_path.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/ensure_path.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/inject.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/inject.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/install.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/install.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/list_packages.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/list_packages.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/reinstall.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/reinstall.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/run.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/run.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/run_pip.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/run_pip.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/uninstall.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/uninstall.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/upgrade.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pipx/commands/__pycache__/upgrade.cpython-310.pyc
/usr/lib/python3.10/site-packages/pipx/commands/common.py
/usr/lib/python3.10/site-packages/pipx/commands/ensure_path.py
/usr/lib/python3.10/site-packages/pipx/commands/inject.py
/usr/lib/python3.10/site-packages/pipx/commands/install.py
/usr/lib/python3.10/site-packages/pipx/commands/list_packages.py
/usr/lib/python3.10/site-packages/pipx/commands/reinstall.py
/usr/lib/python3.10/site-packages/pipx/commands/run.py
/usr/lib/python3.10/site-packages/pipx/commands/run_pip.py
/usr/lib/python3.10/site-packages/pipx/commands/uninstall.py
/usr/lib/python3.10/site-packages/pipx/commands/upgrade.py
/usr/lib/python3.10/site-packages/pipx/constants.py
/usr/lib/python3.10/site-packages/pipx/emojis.py
/usr/lib/python3.10/site-packages/pipx/interpreter.py
/usr/lib/python3.10/site-packages/pipx/main.py
/usr/lib/python3.10/site-packages/pipx/package_specifier.py
/usr/lib/python3.10/site-packages/pipx/pipx_metadata_file.py
/usr/lib/python3.10/site-packages/pipx/shared_libs.py
/usr/lib/python3.10/site-packages/pipx/util.py
/usr/lib/python3.10/site-packages/pipx/venv.py
/usr/lib/python3.10/site-packages/pipx/venv_inspect.py
/usr/lib/python3.10/site-packages/pipx/version.py
/usr/share/bash-completion/completions/pipx.bash
/usr/share/fish
/usr/share/fish/vendor_completions.d
/usr/share/fish/vendor_completions.d/pipx.fish
/usr/share/man/man1/pipx.1.gz
/usr/share/pipx
/usr/share/pipx/pipx-completion.tcsh

References

Summary

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