CheckInstall(8)
π checkinstall β the girlies' guide to tracking installs π
okay bestie, so this is the manual page for checkinstall, and it lives in section 8 of the System Manager's Manual. it's giving package manager whisperer, and honestly? you're gonna be obsessed.
β¨ NAME β¨
checkinstall β track the installation of local software, and produce a binary that's manageable with your package management software. no cap. π
πΈ SYNOPSIS πΈ
checkinstall [options] [install command]
π¦ DESCRIPTION π¦
so like, checkinstall is a program that monitors an installation procedure (think make install, install.sh, that whole vibe) and then creates a standard package for your distribution that you can install through your distro's own package management system. currently the supported package types are deb, rpm and tgz, and the matching managers are dpkg, rpm or installpkg. periodt. π
β οΈ real talk though: for most of the actually-useful actions, checkinstall must be run as root. like, root root. π
π OPTIONS π
these programs follow the usual GNU command line syntax, with long options starting with two dashes (-). summary below, bestie π
here's the cute little rule that applies to all the toggle options: they default to activating the option. if you wanna force it on or off, call them with =yes or =no. example: to disable stripping you'd use --strip=no. iconic.
-h,--helpβ show a summary of options. the little "what's good" button π«Ά--versionβ show version information.--copyrightβ show copyright information.--typeβ choose your packaging system. can be one of'slackware','debian'or'rpm'. pick your fighter β-Dβ create a Debian package.-Rβ create a RPM package.-Sβ create a Slackware Package.--installβ toggle installation of the created package.--fstransβ enable/disable filesystem translation. when filesystem translation is enabled, the install proceeds inside a temporary directory instead of actually touching your system. yes bestie, it's a safe space π§-y,--defaultβ accept the default answer to every single question. zero decisions, maximum peace π--pkgnameβ set the package name.--pkgversionβ set the package version.-A,--arch,--pkgarchβ set the package architecture.--pkgreleaseβ set the package release.--pkglicenseβ set the package license.--pkggroupβ set the package group.--pkgsourceβ set source location.--pkgaltsourceβ set alternate source location.--pakdirβ where to save the new package. (yes, that's spelled--pakdir, we don't make the rules π)--maintainerβ set the package maintainer, for example--maintainer="Jane Doe <jane@example.org>". the value is used as given, with no shell expansion. keep that in mind, it's important. π--providesβ features provided by this package (currently only on RPM and Deb).--requiresβ dependencies required by this package.--prerequiresβ dependencies that must be installed and configured before this package.--rpmflagsβ pass these flags to the rpm installer.--rpmiβ use the-iflag when installing a rpm.--rpmuβ use the-Uflag when installing a rpm.--dpkgflagsβ pass these flags to the dpkg installer.--specβ where the.specfile is located.--nodocβ do not include documentation files.-dβ set debug level. must be one of0,1and2.-siβ run an interactive install command.--showinstallβ toggle interactive install command.-ssβ run an interactive Slackware installation script.--showslackβ toggle interactive Slackware installation script.--autodoinstβ toggle creation of adoinst.shscript.--stripβ toggle stripping any ELF binaries found inside the package.--stripsoβ toggle stripping any ELF libraries (.so) found inside the package.--autodepsβ work out the shared library dependencies of the installed binaries withdpkg-shlibdepsand record them in the package, exactly like a normally packaged program would. Debian packages only. on by default. π₯--debcompressionβ compression to use when building a Debian package:gzip,xz,zstdornone. leave it unset anddpkg-debchooses for you. heads up: on a large package,gzipandzstdfinish much faster thanxz, and produce a bigger file. pick your tradeoff bestie βοΈ--addsoβ search for any shared libs and add them to/etc/ld.so.conf.--reset-uidsβ reset perms for all files/dirs to755and the owner/group for all dirs toroot.root.--gzmanβ compress any man pages found inside the package.--docdirβ where to put documentation files.--umaskβ set the umask value.--excludeβ exclude these files/directories from the package.--includeβ force the inclusion in the package of the files/dirs listed in the argument (a file).--inspectβ inspect the package's file list.--review-specβ review the spec file before creating a.rpm.--review-controlβ review the control file before creating a.deb.--newslackβ use the new (8.1+) Slackware description format. ("--newslack"implies-S) π--with-tarβ manually set the path to thetarbinary.--deldocβ toggle deletion ofdoc-pakupon termination.--deldescβ toggle deletion ofdescription-pakupon termination.--delspecβ toggle deletion of spec file upon termination.--bkβ backup any overwritten files.--backupβ toggle backup.
π FILES π
this program reads its configuration from /etc/checkinstallrc, which you can use to override the defaults. and remember: command line arguments override settings in the configuration file. cli stays winning π
π AUTHOR π
this manual page was written by Felipe Sateler <fsateler@gmail.com> for the Debian system (but it may be used by others π«Ά). permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2.
on Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
and that's the whole page, bestie π this was CheckInstall(8) from the System Manager's Manual β go forth and package responsibly, you absolute icon ππβ¨
π¦ where this page comes from
- ubuntu stonking: checkinstall 1.8.3-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms