How To Install python-tw-forms on CentOS 7

In this tutorial we learn how to install python-tw-forms on CentOS 7. python-tw-forms is Web Widgets for building and validating forms in ToscaWidgets

Introduction

In this tutorial we learn how to install python-tw-forms on CentOS 7.

What is python-tw-forms

tw.forms is a set of html and javascript widgets for the ToscaWidgets framework. They give authors basic html form elements as building blocks for their own web pages and widgets.

We can use yum or dnf to install python-tw-forms on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-tw-forms.

Install python-tw-forms on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install python-tw-forms using yum by running the following command:

sudo yum -y install python-tw-forms

Install python-tw-forms 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.

sudo dnf makecache

After updating yum database, We can install python-tw-forms using dnf by running the following command:

sudo dnf -y install python-tw-forms

How To Uninstall python-tw-forms on CentOS 7

To uninstall only the python-tw-forms package we can use the following command:

sudo dnf remove python-tw-forms

References

Summary

In this tutorial we learn how to install python-tw-forms on CentOS 7 using yum and dnf.