XBPS-CREATE(1)
π XBPS-CREATE(1) β the xbps-create glow-up π
okay so before we even start: this is a page from the General Commands Manual section, and it's all about xbps-create, the XBPS utility that makes binary packages. bestie, we're gonna build a package together and it's gonna be iconic β¨
πΈ NAME πΈ
xbps-create β the XBPS utility that creates binary packages. that's her whole job. she builds.
π¦ SYNOPSIS π¦
xbps-create [OPTIONS] destdir
β¨ DESCRIPTION β¨
so like, xbps-create takes the files chillin' in a directory and turns them into a full-on XBPS binary package. simple as that, no cap.
but β and this is the important part β the files inside that directory have to have the correct permissions and the correct location already. she's not gonna fix that for you, she's just gonna package it. π
and the finished package's behaviour gets changed by passing multiple values in the options. it's giving "you are what you configure." so pick your flags wisely, okay?
π OPTIONS π
-A,--architecturestring β the target architecture for this package. required, like literally required, don't forget her. usenoarchif the package doesn't contain any arch-dependent file. π«Ά-B,--built-withstring β the package builder string. free form, so you can just say whatever you want here.-C,--conflictslist β a list of package patterns this package should conflict with, separated by whitespaces. example:'foo>=1.0 blah<1.0'.-c,--changelogstring β the package changelog string. your lore, basically.-D,--dependencieslist β a list of package patterns this package depends on, separated by whitespaces. example:'foo>=1.0 blah-1.0_1'.-F,--config-fileslist β a list of configuration files this package provides, separated by whitespace.-G,--source-revisionsstring β sets a string with the git revisions of the sourcepkg that was used to build this binary package. it's set automatically byxbps-src, so you usually don't touch this one.-H,--homepagestring β the package homepage string.-h,--helpβ show the help message. slay.-l,--licensestring β the package license.-M,--mutable-fileslist β a list of mutable files this package provides, separated by whitespaces.-m,--maintainerstring β the package maintainer name and/or email contact. that's you, main character π-n,--pkgverstring β the package name/version tuple, e.g:'foo-1.0_1'.-P,--provideslist β a list of virtual packages this package provides, separated by whitespaces. example:'virtualpkg-9999 virtualpkg2-1.0_1'.-p,--preserveβ if set, the package files will be preserved after being updated.-q,--quietβ enable quiet operation. shhh π€«-R,--replaceslist β a list of package patterns this package replaces, separated by whitespaces. example:'foo>=1.0 blah>=2.0'.-r,--revertslist β a list of versions this package reverts, separated by whitespaces. example:'2.0_1 2.1_1'.-S,--long-descstring β a long description for this package.-s,--descstring β a short description for this package, one line with less than 80 characters. keep it cute and keep it short π-t,--tagslist β a list of tags (categories) this package should be part of, separated by whitespaces. example:'development nonfree'.-V,--versionβ show the version information.--alternativeslist β a list of alternatives provided by this package, separated by whitespaces. example:'group:symlink:target group2:symlink:target'. and listen β ifsymlinkis a relative path, the symlink will be created relative totarget. noted π--build-optionsstring β a string containing the build options used in package.--compression none | gzip | bzip2 | xz | lz4 | zstdβ set the binary package compression format. if unset, defaults tozstd. ποΈ--shlib-provideslist β a list of provided shared libraries, separated by whitespaces. example:'libfoo.so.2 libblah.so.1'.--shlib-requireslist β a list of required shared libraries, separated by whitespaces. example:'libz.so.1 libfoo.so.2'.--sourcepkgstring β the pkgver of the sourcepkg that was used to build this binary package.
π EXIT STATUS π
if something goes wrong, a descriptive error message will be printed to stderr. so like, she tells you what happened. read it.
π SEE ALSO π
the whole friend group, honestly:
xbps-alternatives(1), xbps-checkvers(1), xbps-dgraph(1), xbps-digest(1), xbps-fbulk(1), xbps-fetch(1), xbps-install(1), xbps-pkgdb(1), xbps-query(1), xbps-reconfigure(1), xbps-remove(1), xbps-rindex(1), xbps-uchroot(1), xbps-uunshare(1), xbps.d(5)
π§ AUTHORS π§
Juan Romero Pardines <xtraeme@gmail.com> β the legend who made this happen. we stan π«Ά
π BUGS π
probably, honestly. but the author tries to make this not happen π. use it under your own responsibility and enjoy your life β that's the whole vibe, fr fr.
report bugs at https://github.com/void-linux/xbps/issues β go be helpful π
okay that's the whole page, bestie. go make some packages, and remember:-Ais required,noarchexists for a reason, and less than 80 characters means less than 80 characters. mwah π
this edition of the page came from Debian, dated Feb 9, 2023 β xoxo, see you in the next manpage β¨
π¦ where this page comes from
- alpine 3.24: xbps-doc 0.60.6-r1 Β· BSD-2-Clause AND BSD-3-Clause AND ISC
- nixos 26.05: xbps 0.60.7
- nixpkgs unstable: xbps 0.60.7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms