ALPM-PACKAGE-VERSION(7)
πΈ NAME πΈ
okay so this is the alpm-package-version(7) page, bestie π and the name is package version β package versions for ALPM based packages.
π DESCRIPTION π
okay so the package version format is literally the way version info works for ALPM based packages. It shows up in build scripts or file formats for package metadata β like in PKGBUILD, PKGINFO, SRCINFO, alpm-repo-desc, or alpm-lib-desc β to describe package versions, or component versions as part of a package relation. no cap β¨
The value is a composite version string, and it can have several components (alpm-epoch, alpm-pkgver, alpm-pkgrel). There are various forms of composite version strings, but theyβre only used in specific contexts. periodt π
β¨ Full β¨
The value for this form is an alpm-pkgver, directly followed by a - sign, directly followed by an alpm-pkgrel (like 1.0.0-1). This alpm-package-version form is used in various scenarios, such as:
- package filenames
- package-relation expressions
replaces,conflict,provides,depend,makedependandcheckdependinPKGINFOfiles
pkgverinBUILDINFOfilespkgverinPKGINFOfiles- as part of
buildtoolverinBUILDINFOv2files - as part of
installedinBUILDINFOfiles
π Full with epoch π
The value for this form is an alpm-epoch, directly followed by a : sign, directly followed by an alpm-pkgver, directly followed by a - sign, directly followed by an alpm-pkgrel (like 1:1.0.0-1). This alpm-package-version form is used in various scenarios, such as:
- package filenames
- package-relation expressions
replaces,conflict,provides,depend,makedependandcheckdependinPKGINFOfiles
pkgverinBUILDINFOfilespkgverinPKGINFOfiles- as part of
buildtoolverinBUILDINFOv2files - as part of
installedinBUILDINFOfiles - as part of the
alpm-state-repocontents
π¦ Minimal π¦
The value for this form is an alpm-pkgver (like 1.0.0). This alpm-package-version form is used in various scenarios, such as:
- package-relation expressions
replaces,conflicts,provides,depends,makedependsandcheckdependsinPKGBUILDfilesreplaces,conflict,provides,depend,makedependandcheckdependinPKGINFOfiles
pkgverinPKGBUILDfilespkgverinSRCINFOfiles- as part of
buildtoolverinBUILDINFOv2files
π Minimal with epoch π
The value for this form is an alpm-epoch, directly followed by a : sign, directly followed by an alpm-pkgver (like 1:1.0.0). This alpm-package-version form is used in various scenarios, such as:
- as part of package-relation expressions
replaces,conflicts,provides,depends,makedependsandcheckdependsinPKGBUILDfilesreplaces,conflict,provides,depend,makedependandcheckdependinPKGINFOfiles
pkgverinPKGBUILDfilespkgverinSRCINFOfiles- as part of
buildtoolverinBUILDINFOv2files
π₯ EXAMPLES π₯
"1.0.0-1"
A full package version. π
"1:1.0.0-1"
A full package version with epoch. β¨
"1.0.0"
A minimal package version. π¦
"1:1.0.0"
A minimal package version with epoch. π
π SEE ALSO π
BUILDINFO(5), PKGBUILD(5), PKGINFO(5), SRCINFO(5), alpm-epoch(7), alpm-package-relation(7), alpm-pkgrel(7), alpm-pkgver(7), vercmp(8)
and thatβs the (7) footer in the Miscellaneous Information Manual, bestie β byeee π
π¦ where this page comes from
- arch rolling: alpm-docs 0.13.0-1 Β· CC-BY-SA-4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms