# phpman > man > debpkg(1)

[DEBPKG(1)](https://www.chedong.com/phpMan.php/man/DEBPKG/1/markdown)                              General Commands Manual                             [DEBPKG(1)](https://www.chedong.com/phpMan.php/man/DEBPKG/1/markdown)



## NAME
       debpkg - wrapper for dpkg

## SYNOPSIS
       **debpkg** _dpkg-options_

## DESCRIPTION
       **debpkg** simply invokes [**dpkg**(1)](https://www.chedong.com/phpMan.php/man/dpkg/1/markdown) but first becomes superuser so that **dpkg** is able to install and
       remove packages.  It also  cleans  the  environment  and  resets  PATH  to  a  sane  default:
       "/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11"  so  that local versions of programs are not run
       by accident.

## REQUIREMENTS
       **debpkg** must be given superuser privileges in some way to function properly.  **Access** **to** **debpkg**
       **with**  **those**  **privileges**  **is** **the** **same** **as** **having** **superuser** **access** **to** **your** **machine.**  **debpkg** will
       abort if it finds that it neither being run by root nor setuid root.

       The **devscripts** package has been designed to allow **debpkg** to be made setuid root.  This  works
       by using a compiled wrapper script, which means that **suidperl** is not required.  See **dpkg-sta**‐‐
       [**toverride**(8)](https://www.chedong.com/phpMan.php/man/toverride/8/markdown) if you wish to make this program setuid root.  **sudo** or **super** could also conceiv‐
       ably be used.

## AUTHOR
       Christoph  Lameter  <<clameter@debian.org>>; minor modifications made by Julian Gilbey <jdg@de‐
       bian.org>.



DEBIAN                                    Debian Utilities                                 [DEBPKG(1)](https://www.chedong.com/phpMan.php/man/DEBPKG/1/markdown)
