Skip to content

Conversation

CarstenGrohmann
Copy link
Contributor

Get all installed packages with name version number, release number (if available) and architecture

>>> host.package.get_packages()
{'acl.x86_64': {'arch': 'x86_64',
				'name': 'acl',
				'release': '4.3.1',
				'version': '2.2.52'},
 <redacted>
 'zypper.x86_64': {'arch': 'x86_64',
				   'name': 'zypper',
				   'release': '150200.39.1',
				   'version': '1.14.57'}}

@CarstenGrohmann CarstenGrohmann force-pushed the get_packages branch 6 times, most recently from 5a4c2fb to eb926c9 Compare August 7, 2023 09:40
Get all installed packages with name version number, release number (if
available) and architecture:

>>> host.package.get_packages()
{'acl.x86_64': {'arch': 'x86_64',
				'name': 'acl',
				'release': '4.3.1',
				'version': '2.2.52'},
 <redacted>
 'zypper.x86_64': {'arch': 'x86_64',
				   'name': 'zypper',
				   'release': '150200.39.1',
				   'version': '1.14.57'}}
@philpep philpep added feature enhancement This issue/PR relates to a feature request. and removed feature labels Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This issue/PR relates to a feature request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants