How To Install python-toscawidgets on CentOS 7
Introduction
In this tutorial we learn how to install python-toscawidgets
on CentOS 7.
What is python-toscawidgets
ToscaWidgets is a web widget toolkit for Python to aid in the creation, packaging and distribution of common view elements normally used in the web. ToscaWidgets is an almost complete rewrite of the widgets package bundled with TurboGears-1.0. The rewrite’s goal was to decouple the widgets package from CherryPy and TurboGears itself to fit better with TurboGears 2.0 philosophy which is to partition it’s services into independent WSGI components for easier mainteinance and reuse in other Python web applications or frameworks.
We can use yum
or dnf
to install python-toscawidgets
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-toscawidgets.
Install python-toscawidgets on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python-toscawidgets
using yum
by running the following command:
Install python-toscawidgets on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install python-toscawidgets
using dnf
by running the following command:
How To Uninstall python-toscawidgets on CentOS 7
To uninstall only the python-toscawidgets
package we can use the following command:
References
Summary
In this tutorial we learn how to install python-toscawidgets
on CentOS 7 using yum
and dnf
.