---
name: "Lintian::Debian::Control"
section: "3"
platform: "linux"
package: "lintian"
version: "2.122.0"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Lintian::Debian::Control"
---

# Lintian::Debian::Control(3)

Lintian interface to d/control fields

## NAME

Lintian::Debian::Control - Lintian interface to d/control fields

## SYNOPSIS

```
    use Lintian::Debian::Control;
```

## DESCRIPTION

Lintian::Debian::Control provides access to fields in d/control.

## INSTANCE METHODS

- item =item source\_fields =item installable\_fields\_by\_name

  - load

  - installables

  Returns a list of the binary and udeb packages listed in the *debian/control*.

- installable\_package\_type (NAME)

  Returns package type based on value of the Package-Type (or if absent, X-Package-Type) field.  If the field is omitted, the default value "deb" is used.

  If NAME is not an installable listed in the source packages *debian/control* file, this method return `"undef"`.

- installable\_fields (PACKAGE)

  Returns the Deb822::Section object for the installable. Returns an empty object if the installable does not exist.

## AUTHOR

Originally written by Russ Allbery \<rra@debian.org\> for Lintian. Amended by Felix Lechner \<felix.lechner@lease-up.com\> for Lintian.

## SEE ALSO

[**lintian**(1)](/lintian/1.md)
