OS Manuals

Dpkg::BuildTree(3perl)

Dpkg::BuildTree - handle build tree actions

Dpkg::BuildTree(3perl) libdpkg-perl Dpkg::BuildTree(3perl)

Dpkg::BuildTree - handle build tree actions

The Dpkg::BuildTree module provides functions to handle build tree actions.

Note: This is a private module, its API can change at any time.

$bt = Dpkg::BuildTree->new(%opts)
Create a new Dpkg::BuildTree object.

Options:

The build tree directory. If not specified, it assumes the current working directory.
$bt->clean()
Clean the build tree, by removing any dpkg generated artifacts.
$bool = $bt->needs_root()
Check whether the build tree needs root to build.

This is a private module.

2026-09-09 1.23.11-dirty

dpkg 1.23.11-r3 · os · ingested 2026-10-27