Install Debian Package
Use JFrog Connect to install and update Debian packages on your edge devices easily and securely.
Last updated
Use JFrog Connect to install and update Debian packages on your edge devices easily and securely.
Last updated
The Install Debian Package action block enables you to install Debian packages onto your edge devices. The action block can be used within an update flow to automate the installation process.
This document describes how to configure the Install Debian Package action block and integrate it into your update flows.
At least one device registered with JFrog Connect.
A local Artifactory repository. Connect does not support remote repositories.
One or more Debian packages ready for deployment and stored in your Artifactory repository.
To include the Install Debian Package action block in your update flow, do the following:
Go to Deployment in the left menu bar and click Create Update Flow.
Drag the Install Debian Package action block and drop it in the workflow.
To configure the action block, click on it and do the following:
Enter a name for the action block.
Choose the JFrog Platform account where your artifacts are stored. If your account name does not appear in the list, click Add (+) to add yours to the list.
Complete the following mandatory information:
Repository Name: The name of the Artifactory repository containing the Debian package you want to install.
Distribution: The appropriate Debian distribution for your target devices (e.g., Debian Buster, Debian Bullseye, Ubuntu Noble, Ubuntu Jammy).
Component: The component (e.g., main, universe, contrib) from which to install the package.
Enable Persistent Repository: Mark this box to add the JFrog Repository to the device system's list of available sources. When unmarked, the JFrog Repository will be removed right after the package installation.
Packages: Enter the Name and Version of the package. If you leave Version blank, the latest version of the package will be installed. If you want to install more than one package, click Add (+). Add an additional row for each additional package.
Update Command Options: The apt
or apt-get
command will be run on the device according to the Linux version. You can add options to tailor the update command to your needs.
Fix Broken: Check this box to run the apt
or apt-get
command with the --fix-broken
option. This can be useful for resolving dependency issues during package installation.
Install Command Options: The apt
or apt-get
command will be run on the device according to the Linux version. You can add options to tailor the install command to your needs. The -y option (equivalent to --yes
or --assume-yes
) is set automatically. You can use any of the options supported by the apt package installer.
Command (View Only): This section displays the final command that will be executed on the target device. The command is generated based on the configuration options you have provided. Review this command to ensure it is correct before deploying the update flow.
Configure your On Failure policy and instructions for rolling back, should a rollback be necessary.
Save your action block configuration.
Learn how to configure your On Failure policy in the workflow.