< Home - < Back

python-pygments


Information about the package, python-pygments, which is shipped with common Linux distributions. The python-pygments package is designed for, A syntax highlighting engine written in Python.


Package Name:

python-pygments

Summary:

A syntax highlighting engine written in Python

Description:

Pygments is a syntax highlighting engine written in Python. That means, it will take source code (or other markup) in a supported language and output a processed version (in different formats) containing syntax highlighting markup.

Architecture:

noarch

Version:

1.1.1

Release:

2.el6

Size:

562 k

Repository:

base

From Repository:

Licence:

BSD



Handy Yum Commands for python-pygments


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


Command

Description of Command

yum install python-pygments

This command will install python-pygments on the server.

yum remove python-pygments

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

yum -y remove python-pygments

This command will un-install python-pygments 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-pygments when using the -y flag.

yum update python-pygments

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

yum -y update python-pygments

This command will update python-pygments 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-pygments when using the -y flag.

yum info python-pygments

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

yum deplist python-pygments

This command will show you the dependencies for python-pygments. 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-pygments

This command will check if there is an update waiting on python-pygments. 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.