Skip to content
Advertisement

rpm -q -> query only the descripton

I can query the informations about a rpm-package with

JavaScript

Example-Result of a Query:

JavaScript

But I only want to query the Description. Is that possible? The reason for that is that I want to process this information (the Description) in a C++ Program (I do this with popen()).

Maybe something like this:

JavaScript

Advertisement

Answer

This is the correct sollution:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement