How To Install python3-flit on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-flit
on Rocky Linux 8.
What is python3-flit
Flit is a simple way to put Python packages and modules on PyPI. Flit only creates packages in the new ‘wheel’ format. People using older versions of pip (<1.5) or easy_install will not be able to install them. Flit packages a single importable module or package at a time, using the import name as the name on PyPI. All subpackages and data files within a package are included automatically. Flit requires Python 3, but you can use it to distribute modules for Python 2, so long as they can be imported on Python 3.
We can use yum
or dnf
to install python3-flit
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-flit.
Install python3-flit on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-flit
using dnf
by running the following command:
sudo dnf -y install python3-flit
Install python3-flit on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-flit
using yum
by running the following command:
sudo yum -y install python3-flit
How To Uninstall python3-flit on Rocky Linux 8
To uninstall only the python3-flit
package we can use the following command:
sudo dnf remove python3-flit
python3-flit Package Contents on Rocky Linux 8
/usr/bin/flit
/usr/lib/python3.6/site-packages/flit
/usr/lib/python3.6/site-packages/flit-1.3.dist-info
/usr/lib/python3.6/site-packages/flit-1.3.dist-info/INSTALLER
/usr/lib/python3.6/site-packages/flit-1.3.dist-info/LICENSE
/usr/lib/python3.6/site-packages/flit-1.3.dist-info/METADATA
/usr/lib/python3.6/site-packages/flit-1.3.dist-info/RECORD
/usr/lib/python3.6/site-packages/flit-1.3.dist-info/WHEEL
/usr/lib/python3.6/site-packages/flit-1.3.dist-info/entry_points.txt
/usr/lib/python3.6/site-packages/flit/__init__.py
/usr/lib/python3.6/site-packages/flit/__main__.py
/usr/lib/python3.6/site-packages/flit/__pycache__
/usr/lib/python3.6/site-packages/flit/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/_get_dirs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/_get_dirs.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/build.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/build.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/buildapi.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/buildapi.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/common.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/common.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/inifile.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/inifile.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/init.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/init.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/install.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/install.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/installfrom.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/installfrom.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/log.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/log.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/logo.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/logo.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/sdist.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/sdist.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/tomlify.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/tomlify.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/upload.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/upload.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/validate.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/validate.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/wheel.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/__pycache__/wheel.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/_get_dirs.py
/usr/lib/python3.6/site-packages/flit/build.py
/usr/lib/python3.6/site-packages/flit/buildapi.py
/usr/lib/python3.6/site-packages/flit/common.py
/usr/lib/python3.6/site-packages/flit/inifile.py
/usr/lib/python3.6/site-packages/flit/init.py
/usr/lib/python3.6/site-packages/flit/install.py
/usr/lib/python3.6/site-packages/flit/installfrom.py
/usr/lib/python3.6/site-packages/flit/license_templates
/usr/lib/python3.6/site-packages/flit/license_templates/apache
/usr/lib/python3.6/site-packages/flit/license_templates/gpl3
/usr/lib/python3.6/site-packages/flit/license_templates/mit
/usr/lib/python3.6/site-packages/flit/log.py
/usr/lib/python3.6/site-packages/flit/logo.py
/usr/lib/python3.6/site-packages/flit/sdist.py
/usr/lib/python3.6/site-packages/flit/tomlify.py
/usr/lib/python3.6/site-packages/flit/upload.py
/usr/lib/python3.6/site-packages/flit/validate.py
/usr/lib/python3.6/site-packages/flit/vcs
/usr/lib/python3.6/site-packages/flit/vcs/__init__.py
/usr/lib/python3.6/site-packages/flit/vcs/__pycache__
/usr/lib/python3.6/site-packages/flit/vcs/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/vcs/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/vcs/__pycache__/git.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/vcs/__pycache__/git.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/vcs/__pycache__/hg.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/vcs/__pycache__/hg.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/vcs/git.py
/usr/lib/python3.6/site-packages/flit/vcs/hg.py
/usr/lib/python3.6/site-packages/flit/vendorized
/usr/lib/python3.6/site-packages/flit/vendorized/__init__.py
/usr/lib/python3.6/site-packages/flit/vendorized/__pycache__
/usr/lib/python3.6/site-packages/flit/vendorized/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/vendorized/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/vendorized/readme
/usr/lib/python3.6/site-packages/flit/vendorized/readme/__init__.py
/usr/lib/python3.6/site-packages/flit/vendorized/readme/__pycache__
/usr/lib/python3.6/site-packages/flit/vendorized/readme/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/vendorized/readme/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/vendorized/readme/__pycache__/clean.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/vendorized/readme/__pycache__/clean.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/vendorized/readme/__pycache__/rst.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flit/vendorized/readme/__pycache__/rst.cpython-36.pyc
/usr/lib/python3.6/site-packages/flit/vendorized/readme/clean.py
/usr/lib/python3.6/site-packages/flit/vendorized/readme/rst.py
/usr/lib/python3.6/site-packages/flit/wheel.py
/usr/share/doc/python3-flit
/usr/share/doc/python3-flit/README.rst
/usr/share/licenses/python3-flit
/usr/share/licenses/python3-flit/LICENSE
References
Summary
In this tutorial we learn how to install python3-flit
on Rocky Linux 8 using yum and dnf.