DEBISection: User Commands (1)
Updated: Debian Utilities
Return to Main Contents
NAMEdebi, debit - install (and test) current version of generated Debian package
SYNOPSISdebi [options] [changes file]
debit [options] [changes file]
DESCRIPTIONdebi figures out the current version of a package and installs it. Unless a .changes file is specified on the command line, it has to be called from within the source code directory tree. In this case, it will look for the .changes file corresponding to the current package version (by determining the name and version number from the changelog, and the architecture in the same way as dpkg-buildpackage(1) does). It then runs debpkg -i on every .deb archive listed in the .changes file to install them, assuming that all of the .deb archives live in the same directory as the .changes file. Note that you probably don't want to run this program on a .changes file relating to a different architecture after cross-compiling the package!
debit does all of the above, and then uses debian-test to run the test scripts, if any, for each binary.
Since installing a package requires root privileges, debi and debit call debpkg rather than dpkg directly. Thus debi and debit will only be useful if they are either being run as root or debpkg can be run as root. See debpkg(1) for more details.
AUTHORdebi was originally written by Christoph Lameter <email@example.com>. debit was originally written by James R. Van Zandt <firstname.lastname@example.org>. They have been moulded into one script together with debc(1) and parts extensively modified by Julian Gilbey <email@example.com>.
This document was created by man2html, using the manual pages.
Time: 06:01:08 GMT, October 23, 2021