man-pages/man8/checkinstall.8.html
2021-03-31 01:06:50 +01:00

206 lines
7.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of CheckInstall</TITLE>
</HEAD><BODY>
<H1>CheckInstall</H1>
Section: Maintenance Commands (8)<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME </H2>
checkinstall --- Track installation of local software, and produce a binary manageable
with your package management software.
<BR>&nbsp;
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS </H2>
<P>
<B>checkinstall</B> [<I>options</I>] [<I>install command</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION </H2>
<P>
<B>checkinstall</B> is a program that monitors an installation
procedure (such as <B>make install</B>, <B>install.sh
</B>), and creates a standard package for your distribution
(currently deb, rpm and tgz packages are supported) that you can install
through your distribution's package management system (dpkg, rpm or
installpkg).
<BR>&nbsp;
<P>
Note that for most useful actions, <B>checkinstall</B> must
be run as root.
<BR>&nbsp;
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS </H2>
<P>
These programs follow the usual GNU command line syntax,
with long options starting with two dashes ('-'). A summary of
options is included below.
<P>
All the options that toggle a switch default to activate the option.
To force activation or deactivation, call them with '=yes' or '=no'. As
an example, to disable stripping use --strip=no.
<DL COMPACT>
<DT id="1"><B>-h</B> <B>--help</B> <DD>
Show summary of options.
<DT id="2"><B>--version</B> <DD>
Show version information.
<DT id="3"><B>--copyright</B> <DD>
Show Copyright information
<DT id="4"><B>--type</B> <DD>
Choose packaging system. Can be one of 'slackware', 'debian'
or 'rpm'.
<DT id="5"><B>-D</B> <DD>
Create a Debian package.
<DT id="6"><B>-R</B> <DD>
Create a RPM package.
<DT id="7"><B>-S</B> <DD>
Create a Slackware Package.
<DT id="8"><B>--install</B> <DD>
Toggle installation of the created package.
<DT id="9"><B>--fstrans</B> <DD>
Enable/disable filesystem translation. Filesystem translation
enabled causes the install to proceed in a temporary directory, thus
not actually touching your system.
<DT id="10"><B>-y</B> <TT>&nbsp;&nbsp;&nbsp;&nbsp;</TT><B>--default</B> <DD>
Accept default answers to all questions. <BR>
<DT id="11"><B>--pkgname</B> <DD>
Set the package name.
<DT id="12"><B>--pkgversion</B> <DD>
Set package version.
<DT id="13"><B>-A</B> <TT>&nbsp;&nbsp;&nbsp;&nbsp;</TT><B>--arch</B> <TT>&nbsp;</TT><B>--pkgarch</B> <DD>
Set package architecture. <BR>
<DT id="14"><B>--pkgrelease</B> <DD>
Set the package release.
<DT id="15"><B>--pkglicense</B> <DD>
Set package license.
<DT id="16"><B>--pkggroup</B> <DD>
Set the package group.
<DT id="17"><B>--pkgsource</B> <DD>
Set source location
<DT id="18"><B>--pkgaltsource</B> <DD>
Set alternate source location
<DT id="19"><B>--pakdir</B> <DD>
Where to save the new package.
<DT id="20"><B>--maintainer</B> <DD>
Set the package maintainer. Be careful to correctly
quote/escape the name, to prevent shell expansion
<DT id="21"><B>--provides</B> <DD>
Features provided by this package (currently only on RPM and Deb).
<DT id="22"><B>--requires</B> <DD>
Dependencies required by this package.
<DT id="23"><B>--rpmflags</B> <DD>
Pass this flags to the rpm installer.
<DT id="24"><B>--rpmi</B> <DD>
Use the -i flag when installing a rpm.
<DT id="25"><B>--rpmu</B> <DD>
Use the -U flag when installing a rpm.
<DT id="26"><B>--dpkgflags</B> <DD>
Pass this flags to the dpkg installer
<DT id="27"><B>--spec</B> <DD>
Where the .spec file is located
<DT id="28"><B>--nodoc</B> <DD>
Do not include documentation files.
<DT id="29"><B>-d</B> <DD>
Set debug level. Must be one of 0, 1 and 2.
<DT id="30"><B>-si</B> <DD>
Run an interactive install command
<DT id="31"><B>--showinstall</B> <DD>
Toggle interactive install command.
<DT id="32"><B>-ss</B> <DD>
Run an interactive Slackware installation script.
<DT id="33"><B>--showslack</B> <DD>
Toggle interactive Slackware installation script.
<DT id="34"><B>--autodoinst</B> <DD>
Toggle creation of a doinst.sh script.
<DT id="35"><B>--strip</B> <DD>
Toggle stripping any ELF binaries found inside the package.
<DT id="36"><B>--stripso</B> <DD>
Toggle stripping any ELF libraries (.so) found inside the package.
<DT id="37"><B>--addso</B> <DD>
Search for any shared libs and add them to /etc/ld.so.conf
<DT id="38"><B>--reset-uids</B> <DD>
Reset perms for all files/dirs to 755 and the owner/group for all dirs to root.root
<DT id="39"><B>--gzman</B> <DD>
Compress any man pages found inside the package.
<DT id="40"><B>--docdir</B> <DD>
Where to put documentation files.
<DT id="41"><B>--umask</B> <DD>
Set the umask value.
<DT id="42"><B>--exclude</B> <DD>
Exclude these files/directories from the package.
<DT id="43"><B>--include</B> <DD>
Force the inclusion in the package of the files/dirs listed in the argument (a file).
<DT id="44"><B>--inspect</B> <DD>
Inspect the package's file list
<DT id="45"><B>--review-spec</B> <DD>
Review the spec file before creating a .rpm.
<DT id="46"><B>--review-control</B> <DD>
Review the control file before creating a .deb.
<DT id="47"><B>--newslack</B> <DD>
Use the new (8.1+) Slackware description format (&quot;--newslack&quot; implies &quot;-S&quot;)
<DT id="48"><B>--with-tar</B> <DD>
Manually set the path to the tar binary.
<DT id="49"><B>--deldoc</B> <DD>
Toggle deletion of doc-pak upon termination.
<DT id="50"><B>--deldesc</B> <DD>
Toggle deletion of description-pak upon termination.
<DT id="51"><B>--delspec</B> <DD>
Toggle deletion of spec file upon termination.
<DT id="52"><B>--bk</B> <DD>
Backup any overwritten files
<DT id="53"><B>--backup</B> <DD>
Toggle backup
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>FILES </H2>
<P>
This program reads its configuration from /etc/checkinstallrc, which can be used to override defaults.
Command line arguments override settings in the configuration file.
<BR>&nbsp;
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR </H2>
<P>
This manual page was written by Felipe Sateler &lt;<A HREF="mailto:fsateler@gmail.com">fsateler@gmail.com</A>&gt; for
the <B>Debian</B> system (but 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.
<BR>&nbsp;
<P>
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL.
<BR>&nbsp;
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="54"><A HREF="#lbAB">NAME </A><DD>
<DT id="55"><A HREF="#lbAC">SYNOPSIS </A><DD>
<DT id="56"><A HREF="#lbAD">DESCRIPTION </A><DD>
<DT id="57"><A HREF="#lbAE">OPTIONS </A><DD>
<DT id="58"><A HREF="#lbAF">FILES </A><DD>
<DT id="59"><A HREF="#lbAG">AUTHOR </A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:11 GMT, March 31, 2021
</BODY>
</HTML>