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

Install .rpm Or .msi File Through Python Script

I'm a newbie to python. I have a python script to download a rpm file from S3 bucket. import pl… Read more Install .rpm Or .msi File Through Python Script

Excluding Source Files From Built Rpm Distribution With Setuptool

I have a typical project structure that looks as follows: EngineEmulator src ship … Read more Excluding Source Files From Built Rpm Distribution With Setuptool

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

How Do I Check If An Rpm Package Is Installed Using Python?

I am writing a Python 2.7 app that relies on several rpm packages to be installed. There is a plann… Read more How Do I Check If An Rpm Package Is Installed Using Python?

How To Get List Installed Linux Rpms With Python?

I use subprocess.getoutput('rpm -qa').split('\n'),it's not very well. rpmfile m… Read more How To Get List Installed Linux Rpms With Python?