How To Install python3-lesscpy on Rocky Linux 8

In this tutorial we learn how to install python3-lesscpy on Rocky Linux 8. python3-lesscpy is Lesscss compiler

Introduction

In this tutorial we learn how to install python3-lesscpy on Rocky Linux 8.

What is python3-lesscpy

A compiler written in python 3 for the lesscss language. For those of us not willing/able to have node.js installed in our environment. Not all features of lesscss are supported (yet). Some features wil probably never be supported (JavaScript evaluation).

We can use yum or dnf to install python3-lesscpy on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-lesscpy.

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

sudo dnf -y install python3-lesscpy

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

sudo yum -y install python3-lesscpy

How To Uninstall python3-lesscpy on Rocky Linux 8

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

sudo dnf remove python3-lesscpy

python3-lesscpy Package Contents on Rocky Linux 8

/usr/bin/lesscpy
/usr/bin/py3-lesscpy
/usr/lib/python3.6/site-packages/lesscpy
/usr/lib/python3.6/site-packages/lesscpy-0.13.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/lesscpy-0.13.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/lesscpy-0.13.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/lesscpy-0.13.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/lesscpy-0.13.0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/lesscpy-0.13.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/lesscpy-0.13.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/lesscpy/__init__.py
/usr/lib/python3.6/site-packages/lesscpy/__main__.py
/usr/lib/python3.6/site-packages/lesscpy/__pycache__
/usr/lib/python3.6/site-packages/lesscpy/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/exceptions.py
/usr/lib/python3.6/site-packages/lesscpy/lessc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__init__.py
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/color.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/color.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/formatter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/formatter.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/lexer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/lexer.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/parser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/parser.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/scope.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/scope.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/utility.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/__pycache__/utility.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lessc/color.py
/usr/lib/python3.6/site-packages/lesscpy/lessc/formatter.py
/usr/lib/python3.6/site-packages/lesscpy/lessc/lexer.py
/usr/lib/python3.6/site-packages/lesscpy/lessc/parser.py
/usr/lib/python3.6/site-packages/lesscpy/lessc/scope.py
/usr/lib/python3.6/site-packages/lesscpy/lessc/utility.py
/usr/lib/python3.6/site-packages/lesscpy/lib
/usr/lib/python3.6/site-packages/lesscpy/lib/__init__.py
/usr/lib/python3.6/site-packages/lesscpy/lib/__pycache__
/usr/lib/python3.6/site-packages/lesscpy/lib/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lib/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lib/__pycache__/colors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lib/__pycache__/colors.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lib/__pycache__/css.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lib/__pycache__/css.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lib/__pycache__/dom.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lib/__pycache__/dom.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lib/__pycache__/reserved.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/lib/__pycache__/reserved.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/lib/colors.py
/usr/lib/python3.6/site-packages/lesscpy/lib/css.py
/usr/lib/python3.6/site-packages/lesscpy/lib/dom.py
/usr/lib/python3.6/site-packages/lesscpy/lib/reserved.py
/usr/lib/python3.6/site-packages/lesscpy/plib
/usr/lib/python3.6/site-packages/lesscpy/plib/__init__.py
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/block.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/block.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/call.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/call.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/deferred.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/deferred.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/expression.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/expression.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/identifier.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/identifier.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/import_.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/import_.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/keyframe_selector.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/keyframe_selector.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/mixin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/mixin.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/negated_expression.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/negated_expression.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/node.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/node.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/property.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/property.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/statement.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/statement.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/variable.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/__pycache__/variable.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/plib/block.py
/usr/lib/python3.6/site-packages/lesscpy/plib/call.py
/usr/lib/python3.6/site-packages/lesscpy/plib/deferred.py
/usr/lib/python3.6/site-packages/lesscpy/plib/expression.py
/usr/lib/python3.6/site-packages/lesscpy/plib/identifier.py
/usr/lib/python3.6/site-packages/lesscpy/plib/import_.py
/usr/lib/python3.6/site-packages/lesscpy/plib/keyframe_selector.py
/usr/lib/python3.6/site-packages/lesscpy/plib/mixin.py
/usr/lib/python3.6/site-packages/lesscpy/plib/negated_expression.py
/usr/lib/python3.6/site-packages/lesscpy/plib/node.py
/usr/lib/python3.6/site-packages/lesscpy/plib/property.py
/usr/lib/python3.6/site-packages/lesscpy/plib/statement.py
/usr/lib/python3.6/site-packages/lesscpy/plib/variable.py
/usr/lib/python3.6/site-packages/lesscpy/scripts
/usr/lib/python3.6/site-packages/lesscpy/scripts/__init__.py
/usr/lib/python3.6/site-packages/lesscpy/scripts/__pycache__
/usr/lib/python3.6/site-packages/lesscpy/scripts/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/scripts/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/scripts/__pycache__/compiler.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lesscpy/scripts/__pycache__/compiler.cpython-36.pyc
/usr/lib/python3.6/site-packages/lesscpy/scripts/compiler.py
/usr/share/doc/python3-lesscpy
/usr/share/doc/python3-lesscpy/LICENSE

References

Summary

In this tutorial we learn how to install python3-lesscpy on Rocky Linux 8 using yum and dnf.