Attempting to upgrade to an RPM that is incompatible with older dependent applications fails.
(That's why you always check the RPM signatures and download code from well-known sources, right?) If the code is malicious, it will take control of the server very easily.
#Openjdk 7 headless download install#
$ python3 -m venv -system-site-packages ~/virtualenv/rpm_query
#Openjdk 7 headless download how to#
My previous article explained how to install the code and use virtual environments, but here is a shortcut: $ sudo dnf install -y python3-rpm Even if you don't know much, the code is simple to follow, and the boilerplate code is small. That's a lot to cover, so basic knowledge of Python is required. In this article, I'll show how to use the setuptools package to do that. Now I want to package an application so that I can install it easily, including all the dependencies, on other machines. The output looks like this: $ rpmqa_simple.py -limit 20 In my last article in this series, I showed how to write a script in Python that returned a list of RPM-installed software installed on a machine.