Skip to content Skip to sidebar Skip to footer
Showing posts with the label Yum

How To Fix "bad Interpreter" Error When Using Yum?

$ yum install httpd-devel -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or di… Read more How To Fix "bad Interpreter" Error When Using Yum?

"no Module Named Yum" With Python 2.7

I need to use Python 2.7 for my project. But after installing Python, I can't use the module yu… Read more "no Module Named Yum" With Python 2.7

Modulenotfounderror: No Module Named 'dnf' When Running Yum Or Dnf

A few days ago I wanted to run dnf but I received the following error Traceback (most recent call … Read more Modulenotfounderror: No Module Named 'dnf' When Running Yum Or Dnf

Determine If Package Installed With Yum Python Api?

TLDR; I need simple a Python call given a package name (e.g., 'make') to see if it's in… Read more Determine If Package Installed With Yum Python Api?

Silencing Yum Api Output

I am looking to 'silence' the debug level of the yum API in python. For example I am assign… Read more Silencing Yum Api Output

Given An Rpm Package Name, Query The Yum Database For Updates

I was imagining a 3-line Python script to do this but the yum Python API is impenetrable. Is this … Read more Given An Rpm Package Name, Query The Yum Database For Updates