How To Install TurboGears2 on CentOS 7

In this tutorial we learn how to install TurboGears2 on CentOS 7. TurboGears2 is Next generation front-to-back web development megaframework

Introduction

In this tutorial we learn how to install TurboGears2 on CentOS 7.

What is TurboGears2

TurboGears brings together a best of breed python tools to create a flexible, full featured, and easy to use web framework. TurboGears 2 provides and integrated and well tested set of tools for everything you need to build dynamic, database driven applications. It provides a full range of tools for front end javascript develeopment, back database development and everything in between * dynamic javascript powered widgets ToscaWidgets * automatic JSON generation from your controllers * powerful, designer friendly XHTML basted templating (Genshi) * object or route based URL dispatching * powerful Object Relational Mappers (SQLAlchemy)

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

Install TurboGears2 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install TurboGears2 using yum by running the following command:

sudo yum -y install TurboGears2

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

sudo dnf -y install TurboGears2

How To Uninstall TurboGears2 on CentOS 7

To uninstall only the TurboGears2 package we can use the following command:

sudo dnf remove TurboGears2

References

Summary

In this tutorial we learn how to install TurboGears2 on CentOS 7 using yum and dnf.