<!--
{
  "availability" : [
    "SwiftPM: 5.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PackageDescription",
  "identifier" : "/documentation/PackageDescription/SystemPackageProvider/yum(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "PackageDescription"
    ],
    "preciseIdentifier" : "s:18PackageDescription06SystemA8ProviderO3yumyACSaySSGFZ"
  },
  "title" : "yum(_:)"
}
-->

# yum(_:)

Creates a system package provider with a list of installable packages
for users of the yum package manager on Red Hat Enterprise Linux or
CentOS.

```
static func yum(_ packages: [String]) -> SystemPackageProvider
```

## Parameters

`packages`

The list of package names.

## Return Value

A package provider.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)