rpm

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GpgKeyImport

func GpgKeyImport(gpgKeyFile string) error

GpgKeyImport imports a gpg key into the rpm keyring.

func IsRpmInstalled

func IsRpmInstalled() bool

IsRpmInstalled checks if the rpm command is installed.

func Query

func Query(name string) (bool, error)

Query checks if a package is installed e.g. `rpm -q <package>`.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL