How To Install python3-soupsieve on Fedora 36
Introduction
In this tutorial we learn how to install python3-soupsieve
on Fedora 36.
What is python3-soupsieve
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. It aims to provide selecting, matching, and filtering using modern CSS selectors. Soup Sieve currently provides selectors from the CSS level 1 specifications up through the latest CSS level 4 drafts and beyond (though some are not yet implemented). Soup Sieve was written with the intent to replace Beautiful Soup’s builtin select feature, and as of Beautiful Soup version 4.7.0, it now is. Soup Sieve can also be imported in order to use its API directly for more controlled, specialized parsing. Soup Sieve has implemented most of the CSS selectors up through the latest CSS draft specifications, though there are a number that don’t make sense in a non-browser environment. Selectors that cannot provide meaningful functionality simply do not match anything.
We can use yum
or dnf
to install python3-soupsieve
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-soupsieve.
Install python3-soupsieve 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-soupsieve
using dnf
by running the following command:
sudo dnf -y install python3-soupsieve
Install python3-soupsieve 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-soupsieve
using yum
by running the following command:
sudo yum -y install python3-soupsieve
How To Uninstall python3-soupsieve on Fedora 36
To uninstall only the python3-soupsieve
package we can use the following command:
sudo dnf remove python3-soupsieve
python3-soupsieve Package Contents on Fedora 36
/usr/lib/python3.10/site-packages/soupsieve
/usr/lib/python3.10/site-packages/soupsieve-2.3.1.dist-info
/usr/lib/python3.10/site-packages/soupsieve-2.3.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/soupsieve-2.3.1.dist-info/LICENSE.md
/usr/lib/python3.10/site-packages/soupsieve-2.3.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/soupsieve-2.3.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/soupsieve-2.3.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/soupsieve/__init__.py
/usr/lib/python3.10/site-packages/soupsieve/__meta__.py
/usr/lib/python3.10/site-packages/soupsieve/__pycache__
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/__meta__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/__meta__.cpython-310.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/css_match.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/css_match.cpython-310.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/css_parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/css_parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/css_types.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/css_types.cpython-310.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/pretty.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/pretty.cpython-310.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/soupsieve/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/soupsieve/css_match.py
/usr/lib/python3.10/site-packages/soupsieve/css_parser.py
/usr/lib/python3.10/site-packages/soupsieve/css_types.py
/usr/lib/python3.10/site-packages/soupsieve/pretty.py
/usr/lib/python3.10/site-packages/soupsieve/py.typed
/usr/lib/python3.10/site-packages/soupsieve/util.py
/usr/share/doc/python3-soupsieve
/usr/share/doc/python3-soupsieve/README.md
References
Summary
In this tutorial we learn how to install python3-soupsieve
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).