[PR #171] Add support for Recommended packages on Debian #289

Open
opened 2026-01-29 16:31:51 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/quamotion/dotnet-packaging/pull/171

State: closed
Merged: Yes


Debian packages can define 'recommended' dependencies, which are strong, but not absolute, dependencies.

This PR adds support for that. A .NET project can define a recommended package by specifying the DebRecommends property, like this:

  <ItemGroup>
    <DebRecommends Include="libssl1.1" />
  </ItemGroup>

Recommended packages are installed by default, unless the --no-install-recommends flag is specified when running apt-get install.

**Original Pull Request:** https://github.com/quamotion/dotnet-packaging/pull/171 **State:** closed **Merged:** Yes --- Debian packages can define ['recommended' dependencies](https://www.debian.org/doc/debian-policy/ch-relationships.html#binary-dependencies-depends-recommends-suggests-enhances-pre-depends), which are _strong, but not absolute, dependencies_. This PR adds support for that. A .NET project can define a recommended package by specifying the `DebRecommends` property, like this: ```xml <ItemGroup> <DebRecommends Include="libssl1.1" /> </ItemGroup> ``` Recommended packages are installed by default, unless the `--no-install-recommends` flag is specified when running `apt-get install`.
claunia added the pull-request label 2026-01-29 16:31:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#289