< Home - < Back

python-jinja2


Information about the package, python-jinja2, which is shipped with common Linux distributions. The python-jinja2 package is designed for, General purpose template engine.


Package Name:

python-jinja2

Summary:

General purpose template engine

Description:

Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. If you have any exposure to other text-based template languages, such as Smarty or Django, you should feel right at home with Jinja2. It's both designer and developer friendly by sticking to Python's principles and adding functionality useful for templating environments.

Architecture:

x86_64

Version:

2.2.1

Release:

3.el6

Size:

466 k

Repository:

base

From Repository:

Licence:

BSD



Handy Yum Commands for python-jinja2


Control the python-jinja2 package with the following handy commands outlined below.


Command

Description of Command

yum install python-jinja2

This command will install python-jinja2 on the server.

yum remove python-jinja2

This command will un-install python-jinja2 on the server. When you run this command, you will be asked if you are sure that you want to remove python-jinja2, so you have to manually confirm that you want to do this.

yum -y remove python-jinja2

This command will un-install python-jinja2 on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-jinja2 when using the -y flag.

yum update python-jinja2

This command will update python-jinja2 to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-jinja2, so you have to manually confirm that you want to do this.

yum -y update python-jinja2

This command will update python-jinja2 to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-jinja2 when using the -y flag.

yum info python-jinja2

This command will show you core information about the python-jinja2 package.

yum deplist python-jinja2

This command will show you the dependencies for python-jinja2. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-jinja2

This command will check if there is an update waiting on python-jinja2. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.