< Home - < Back

rpm-python


Information about the package, rpm-python, which is shipped with common Linux distributions. The rpm-python package is designed for, Python bindings for apps which will manipulate RPM packages.


Package Name:

rpm-python

Summary:

Python bindings for apps which will manipulate RPM packages

Description:

The rpm-python package contains a module that permits applications written in the Python programming language to use the interface supplied by RPM Package Manager libraries. This package should be installed if you want to develop Python programs that will manipulate RPM packages and databases.

Architecture:

x86_64

Version:

4.8.0

Release:

55.el6

Size:

118 k

Repository:

installed

From Repository:

base

Licence:

GPLv2+



Handy Yum Commands for rpm-python


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


Command

Description of Command

yum install rpm-python

This command will install rpm-python on the server.

yum remove rpm-python

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

yum -y remove rpm-python

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

yum update rpm-python

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

yum -y update rpm-python

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

yum info rpm-python

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

yum deplist rpm-python

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

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