How To Install python3-pox on Fedora 36

In this tutorial we learn how to install python3-pox in Fedora 36. python3-pox is Utilities for filesystem exploration and automated builds

Introduction

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

What is python3-pox

pox provides a collection of utilities for navigating and manipulating filesystems. This module is designed to facilitate some of the low level operating system interactions that are useful when exploring a filesystem on a remote host, where queries such as “what is the root of the filesystem?”, “what is the user’s name?”, and “what login shell is preferred?” become essential in allowing a remote user to function as if they were logged in locally. While pox is in the same vein of both the os and shutil builtin modules, the majority of its functionality is unique and compliments these two modules. pox provides python equivalents of several unix shell commands such as which and find. These commands allow automated discovery of what has been installed on an operating system, and where the essential tools are located. This capability is useful not only for exploring remote hosts, but also locally as a helper utility for automated build and installation. Several high-level operations on files and filesystems are also provided. Examples of which are determining if and where the source code resides on the filesystem, and determining what version the installed package is. pox also provides utilities to enable the abstraction of commands sent to a remote filesystem. In conjunction with a registry of environment variables and installed utilites, pox enables the user to interact with a remote filesystem as if they were logged in locally. pox is part of pathos, a python framework for heterogeneous computing. pox is in active development, so any user feedback, bug reports, comments, or suggestions are highly appreciated. A list of issues is located at https https Major Features pox provides utilities for discovering the user’s environment - return the user’s name, current shell, and path to user’s home directory - strip duplicate entries from the user’s $PATH - lookup and expand environment variables from ${VAR} to value pox also provides utilities for filesystem exploration and manipulation - discover the path to a file, exectuable, directory, or symbolic link - discover the path to an installed package - parse operating system commands for remote shell invocation - convert text files to platform-specific formatting

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

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

sudo dnf -y install python3-pox

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

sudo yum -y install python3-pox

How To Uninstall python3-pox on Fedora 36

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

sudo dnf remove python3-pox

python3-pox Package Contents on Fedora 36

/usr/bin/pox
/usr/lib/python3.10/site-packages/pox
/usr/lib/python3.10/site-packages/pox-0.3.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/pox-0.3.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/pox-0.3.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/pox-0.3.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/pox-0.3.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/pox-0.3.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/pox/__init__.py
/usr/lib/python3.10/site-packages/pox/__main__.py
/usr/lib/python3.10/site-packages/pox/__pycache__
/usr/lib/python3.10/site-packages/pox/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pox/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pox/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pox/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pox/__pycache__/_disk.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pox/__pycache__/_disk.cpython-310.pyc
/usr/lib/python3.10/site-packages/pox/__pycache__/info.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pox/__pycache__/info.cpython-310.pyc
/usr/lib/python3.10/site-packages/pox/__pycache__/shutils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pox/__pycache__/shutils.cpython-310.pyc
/usr/lib/python3.10/site-packages/pox/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pox/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/pox/_disk.py
/usr/lib/python3.10/site-packages/pox/info.py
/usr/lib/python3.10/site-packages/pox/shutils.py
/usr/lib/python3.10/site-packages/pox/tests
/usr/lib/python3.10/site-packages/pox/tests/__init__.py
/usr/lib/python3.10/site-packages/pox/tests/__main__.py
/usr/lib/python3.10/site-packages/pox/tests/__pycache__
/usr/lib/python3.10/site-packages/pox/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pox/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pox/tests/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pox/tests/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pox/tests/__pycache__/test_shutils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pox/tests/__pycache__/test_shutils.cpython-310.pyc
/usr/lib/python3.10/site-packages/pox/tests/__pycache__/test_utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pox/tests/__pycache__/test_utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/pox/tests/test_shutils.py
/usr/lib/python3.10/site-packages/pox/tests/test_utils.py
/usr/lib/python3.10/site-packages/pox/utils.py
/usr/share/doc/python3-pox
/usr/share/doc/python3-pox/README
/usr/share/doc/python3-pox/README.md
/usr/share/licenses/python3-pox
/usr/share/licenses/python3-pox/LICENSE

References

Summary

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