EQUIVS-BUILD(1)
β¨ NAME β¨
equivs-build β bestie, this makes a Debian package that registers your local software π
πΈ SYNOPSIS πΈ
equivs-build [--full|-f] [--source|-s] [--arch=foo|-a=foo]
[--templates=bar|-t=bar] controlfile
π DESCRIPTION π
okay so equivs-build is literally the program that creates Debian packages you can use to tell dpkg about packages you installed locally, plus all their dependencies. no cap. and you can also make completely empty packages that just require other packages β those are the "profile" packages, the ones that exist purely to mark other ones for installation. main character energy, honestly. π
β οΈ real talk though: this is a crude hack. if you use it thoughtlessly it might possibly do damage to your packaging system π and also, using it is not the recommended way of dealing with broken dependencies. better to file a bug report instead. fr fr.
The control file has a structure like the control files in "real" Debian packages, but bestie it does not have to define all the keys β defaults will just slide in if you omit one. π«Ά
There are several additional fields you can use:
- Changelog: β the file to be used as the changelog π
- Version: β if you don't use a local changelog, equivs will create a dummy one. Since the version of the package is defined in the changelog, equivs will assume the version
1.0. With this field, you can set an explicit version. slay. β¨ - Readme: β a file to be used as the
README.Debianfile. You can use the strings@packagename@and@depends@to insert the package name and the dependency information used. so cute, so handy π - Copyright: β the copyright file to by used. If omitted, the GPL 2 will be used.
- Preinst: Postinst: Prerm: Postrm: β maintainerscripts executed before/after installation/removal of the package. See the Debian developers reference for a description (package
developers-reference). π - Multi-Arch: β field specifying multiarch dependency status. Used exactly as in 'real' packages.
- Foreign: Satisfies dependencies for all architectures
- Same: Satisfies dependencies only for the same architecture
- Allowed: Can act as either Foreign or Same, as specified in the dependency
- Extra-Files: β a comma-separated list of files to copy to the
/usr/share/doc/packagenamedirectory. π - Files: β files to be copied into some directory of the created package. Each line contains a source filename and a destination directory, space-separated. As with other multi-line headers, all lines but the first must be indented. Example, bestie:
Files: foo-cron /etc/cron.d/
foo-cron-helper /usr/local/bin/
- Links: β links to be created in some directory of the created package. Each line contains two paths. The first is the path that the generated symlink points at; the second is the name of the symlink file (the same order as
ln -s). As with other multi-line headers, all lines but the first must be indented. Example:
Links: /usr/aarch64-linux-gnu/lib/libfoo.so /usr/lib/aarch64-linux-gnu/libfoo.so
/file/to/symlink/to /symlink/file/name
- File: β files to be copied into some directory of the created package, specified inline in the source control file. The field syntax is the name of the files to be created, followed by lines indented by 1 space denoting file content; leading space will be trimmed. An octal file mode may be specified after the filename; it defaults to
644, and will be normalised to644or755. Example:
File: /usr/local/bin/true 755
#!/bin/sh
exit 0
See /usr/share/doc/equivs/README.Debian for more information. π
π OPTIONS π
--full|-fβ do a complete build.debuildwill be called, that is, a full package will be built and signed, suitable for upload to the Debian servers. π
The ID used to signed is taken from, in that order, the user from the last entry of a supplied changelog, the Maintainer: field in the equivs control file, or the local username.
--source|-sβ do a source build.debuildwill be called, that is, a source package will be built and signed, suitable for upload to the Ubuntu PPA servers. π¦
The ID used to signed is taken from, in that order, the user from the last entry of a supplied changelog, the Maintainer: field in the equivs control file, or the local username.
--arch|-aβ build package for the specified architecture. Used e.g. for building packages for hurd under linux.equivs-buildusesdpkg-architectureto provide this facility. β--templates|-tβ build package using alternative templates in the given directory. By defaultequivs-builduses template files from/usr/share/equivs/template.
Use with caution, this can break equivs-build. π
π DISTRIBUTION π
Distribution is subject to the GNU public licence version 2.
π§ AUTHOR π§
Martin Bialasinski <martinb@debian.org>
π SEE ALSO π
equivs-control(1), /usr/share/doc/equivs/README.Debian
and that's the whole page, bestie β this one's from the Debian fam, dated 22 Apr 2026, and you absolutely ate it. no notes. periodt. π β¨π
π¦ where this page comes from
- ubuntu stonking: equivs 2.3.3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms