How To Install python3-libsass on Fedora 36

In this tutorial we learn how to install python3-libsass in Fedora 36. python3-libsass is Python bindings for libsass

Introduction

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

What is python3-libsass

This package provides a simple Python extension module sass which is binding Libsass (written in C/C++ by Hampton Catlin and Aaron Leung).

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

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

sudo dnf -y install python3-libsass

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

sudo yum -y install python3-libsass

How To Uninstall python3-libsass on Fedora 36

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

sudo dnf remove python3-libsass

python3-libsass Package Contents on Fedora 36

/usr/bin/pysassc
/usr/lib/.build-id
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/73bdb2c8a6484e4285541c128fc7f9aa12636e
/usr/lib64/python3.10/site-packages/__pycache__/pysassc.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/pysassc.cpython-310.pyc
/usr/lib64/python3.10/site-packages/__pycache__/sass.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/sass.cpython-310.pyc
/usr/lib64/python3.10/site-packages/__pycache__/sassc.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/sassc.cpython-310.pyc
/usr/lib64/python3.10/site-packages/__pycache__/sasstests.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/sasstests.cpython-310.pyc
/usr/lib64/python3.10/site-packages/_sass.abi3.so
/usr/lib64/python3.10/site-packages/libsass-0.20.0-py3.10.egg-info
/usr/lib64/python3.10/site-packages/libsass-0.20.0-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/libsass-0.20.0-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/libsass-0.20.0-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/libsass-0.20.0-py3.10.egg-info/entry_points.txt
/usr/lib64/python3.10/site-packages/libsass-0.20.0-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/libsass-0.20.0-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/pysassc.py
/usr/lib64/python3.10/site-packages/sass.py
/usr/lib64/python3.10/site-packages/sassc.py
/usr/lib64/python3.10/site-packages/sasstests.py
/usr/lib64/python3.10/site-packages/sassutils
/usr/lib64/python3.10/site-packages/sassutils/__init__.py
/usr/lib64/python3.10/site-packages/sassutils/__pycache__
/usr/lib64/python3.10/site-packages/sassutils/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/sassutils/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/sassutils/__pycache__/_compat.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/sassutils/__pycache__/_compat.cpython-310.pyc
/usr/lib64/python3.10/site-packages/sassutils/__pycache__/builder.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/sassutils/__pycache__/builder.cpython-310.pyc
/usr/lib64/python3.10/site-packages/sassutils/__pycache__/distutils.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/sassutils/__pycache__/distutils.cpython-310.pyc
/usr/lib64/python3.10/site-packages/sassutils/__pycache__/wsgi.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/sassutils/__pycache__/wsgi.cpython-310.pyc
/usr/lib64/python3.10/site-packages/sassutils/_compat.py
/usr/lib64/python3.10/site-packages/sassutils/builder.py
/usr/lib64/python3.10/site-packages/sassutils/distutils.py
/usr/lib64/python3.10/site-packages/sassutils/wsgi.py
/usr/share/doc/python3-libsass
/usr/share/doc/python3-libsass/README.rst
/usr/share/licenses/python3-libsass
/usr/share/licenses/python3-libsass/LICENSE
/usr/share/man/man1/pysassc.1.gz

References

Summary

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