Deploy a Debian Package Using Curl

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

You can deploy a Debian package using Curl, leveraging the Matrix Parameters to specify the distribution, component, and architecture.

The URL is built similarly to the Target Path format as follows:

Deploying a package using Matrix Parameters

PUT "https://company.jfrog.io/artifactory/{debianRepoKey}/pool/{debianPackageName};deb.distribution={distribution};deb.component={component};deb.architecture={architecture}" 

For example, to upload package libatk1.0_i386.deb, and specify that its layout is from the wheezy distribution, in the main component and the i386 architecture, you would enter:

  • {debianRepoKey}: This is the key of the Debian repository where you want to upload the package.

  • {debianPackageName}: The name of the Debian package you are uploading, including its .deb extension.

  • {distribution}: The Debian distribution you're targeting (e.g., wheezy, buster, etc.).

  • {component}: The component of the distribution (e.g., main, contrib, non-free).

  • {architecture}: The architecture of the package (e.g., i386, amd64).

Example

PUT "https://company.jfrog.io/artifactory/debian-local/pool/libatk1.0_i386.deb;deb.distribution=wheezy;deb.component=main;deb.architecture=i386"