How To Install python-debian on CentOS 7
Introduction
In this tutorial we learn how to install python-debian
on CentOS 7.
What is python-debian
This package provides Python modules that abstract many formats of Debian related files. Currently handled are * Debtags information (debian.debtags module) * debian/changelog (debian.changelog module) * Packages files, pdiffs (debian.debian_support module) * Control files of single or multiple RFC822-style paragraphs, e.g. debian/control, .changes, .dsc, Packages, Sources, Release, etc. (debian.deb822 module) * Raw .deb and .ar files, with (read-only) access to contained files and meta-information
We can use yum
or dnf
to install python-debian
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-debian.
Install python-debian on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python-debian
using yum
by running the following command:
Install python-debian 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.
After updating yum database, We can install python-debian
using dnf
by running the following command:
How To Uninstall python-debian on CentOS 7
To uninstall only the python-debian
package we can use the following command:
References
Summary
In this tutorial we learn how to install python-debian
on CentOS 7 using yum
and dnf
.