How To Install python3-py2pack on Fedora 36
Introduction
In this tutorial we learn how to install python3-py2pack
on Fedora 36.
What is python3-py2pack
This script allows to generate RPM “spec” or DEB “dsc” files from Python modules. It allows to list Python modules or search for them on the Python Package Index (PyPI). Conveniently, it can fetch tarballs and change logs making it an universal tool to package Python modules.
We can use yum
or dnf
to install python3-py2pack
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-py2pack.
Install python3-py2pack 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-py2pack
using dnf
by running the following command:
sudo dnf -y install python3-py2pack
Install python3-py2pack 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-py2pack
using yum
by running the following command:
sudo yum -y install python3-py2pack
How To Uninstall python3-py2pack on Fedora 36
To uninstall only the python3-py2pack
package we can use the following command:
sudo dnf remove python3-py2pack
python3-py2pack Package Contents on Fedora 36
/usr/bin/py2pack
/usr/lib/python3.10/site-packages/py2pack
/usr/lib/python3.10/site-packages/py2pack-0.6.3-py3.10.egg-info
/usr/lib/python3.10/site-packages/py2pack-0.6.3-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/py2pack-0.6.3-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/py2pack-0.6.3-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/py2pack-0.6.3-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/py2pack-0.6.3-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/py2pack/__init__.py
/usr/lib/python3.10/site-packages/py2pack/__pycache__
/usr/lib/python3.10/site-packages/py2pack/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py2pack/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/py2pack/__pycache__/get_metadata.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py2pack/__pycache__/get_metadata.cpython-310.pyc
/usr/lib/python3.10/site-packages/py2pack/__pycache__/proxy.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py2pack/__pycache__/proxy.cpython-310.pyc
/usr/lib/python3.10/site-packages/py2pack/__pycache__/requires.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py2pack/__pycache__/requires.cpython-310.pyc
/usr/lib/python3.10/site-packages/py2pack/__pycache__/setup.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py2pack/__pycache__/setup.cpython-310.pyc
/usr/lib/python3.10/site-packages/py2pack/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py2pack/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/py2pack/get_metadata.py
/usr/lib/python3.10/site-packages/py2pack/proxy.py
/usr/lib/python3.10/site-packages/py2pack/requires.py
/usr/lib/python3.10/site-packages/py2pack/setup.py
/usr/lib/python3.10/site-packages/py2pack/spdx_license_map.p
/usr/lib/python3.10/site-packages/py2pack/templates
/usr/lib/python3.10/site-packages/py2pack/templates/fedora.spec
/usr/lib/python3.10/site-packages/py2pack/templates/mageia.spec
/usr/lib/python3.10/site-packages/py2pack/templates/opensuse.dsc
/usr/lib/python3.10/site-packages/py2pack/templates/opensuse.spec
/usr/lib/python3.10/site-packages/py2pack/utils.py
/usr/share/doc/python3-py2pack
/usr/share/doc/python3-py2pack/AUTHORS
/usr/share/doc/python3-py2pack/README.rst
/usr/share/doc/python3-py2pack/py2pack.html
/usr/share/licenses/python3-py2pack
/usr/share/licenses/python3-py2pack/LICENSE
/usr/share/man/man1/py2pack.1.gz
References
Summary
In this tutorial we learn how to install python3-py2pack
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).