Information about the package, python-prettytable, which is shipped with common Linux distributions. The python-prettytable package is designed for, Python library to display tabular data in tables.
Package Name:
python-prettytable
Summary:
Python library to display tabular data in tables
Description:
PrettyTable is a simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables. It was inspired by the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for selection of which columns are to be printed, independent alignment of columns (left or right justified or centred) and printing of "sub-tables" by specifying a row range.
Architecture:
noarch
Version:
0.7.2
Release:
11.el6
Size:
37 k
Repository:
base
From Repository:
Licence:
BSD
Control the python-prettytable package with the following handy commands outlined below.
yum install python-prettytable
This command will install python-prettytable on the server.
yum remove python-prettytable
This command will un-install python-prettytable on the server. When you run this command, you will be asked if you are sure that you want to remove python-prettytable, so you have to manually confirm that you want to do this.
yum -y remove python-prettytable
This command will un-install python-prettytable 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-prettytable when using the -y flag.
yum update python-prettytable
This command will update python-prettytable to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-prettytable, so you have to manually confirm that you want to do this.
yum -y update python-prettytable
This command will update python-prettytable 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-prettytable when using the -y flag.
yum info python-prettytable
This command will show you core information about the python-prettytable package.
yum deplist python-prettytable
This command will show you the dependencies for python-prettytable. 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-prettytable
This command will check if there is an update waiting on python-prettytable. 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.