AMWD.MakeDeb6
1.3.1
Prefix Reserved
dotnet tool install --global AMWD.MakeDeb6 --version 1.3.1
dotnet new tool-manifest
dotnet tool install --local AMWD.MakeDeb6 --version 1.3.1
#tool dotnet:?package=AMWD.MakeDeb6&version=1.3.1
nuke :add-package AMWD.MakeDeb6 --version 1.3.1
dotnet make-deb for .NET 6
Creates a .deb Debian binary package from a specification file through the dotnet CLI command or as standalone command-line tool.
This is a clone of the DotnetMakeDeb created by Yves Goergen on Github!
Installation
dotnet local tool
Install the NuGet package AMWD.MakeDeb6 to your project directory. Then you can run it from the project directory to create your Debian package.
Choose the one matching your .NET runtime version.
Installation:
dotnet new tool-manifest
dotnet tool install AMWD.MakeDeb6
Command invocation:
dotnet publish -c Release
dotnet make-deb app.debspec
dotnet global tool
Install the NuGet package AMWD.MakeDeb6 as a global tool. Then you can run it from all directories to create your Debian package. This requires the .NET 6.0 runtime to be installed.
Installation:
dotnet tool install -g AMWD.MakeDeb6
Command invocation:
make-deb app.debspec
Learn more about managing .NET tools.
Package version
The package version is normally specified in the package specification file (.debspec).
Alternatively, the version can be overridden from a second command line argument after the specification file:
[dotnet] make-deb app.debspec 1.2.0
In automated build scenarios, the package version can also be looked up from another file, like the built application assembly. Use the -vf option to specify the file to read the version from:
[dotnet] make-deb app.debspec -vf bin\Release\linux-x64\publish\MyApp.dll
Other options
The -v option activates verbose output. It prints some progress information while running. Otherwise, it remains silent in normal operation.
License
MIT license
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.