Apt Package Management

This documentation is for Dash Enterprise.
Dash Enterprise is the fastest way to write & deploy Dash apps and
Jupyter notebooks.
10% of the Fortune 500 uses Dash Enterprise to productionize AI and
data science apps. Find out if your company is using Dash Enterprise.

This page applies to Dash Enterprise 5. If your organization uses Dash Enterprise 4, view the Workspaces docs at https://<your-dash-enterprise-server>/Docs/workspaces.

To install apt packages in your workspace, you can either install them in the workspace’s terminal, or add the required packages to an Aptfile.

Installing in the Workspace Terminal

Install the package in your terminal with

$ sudo apt-get update
$ sudo apt-get install <package>

Adding to an Aptfile

Add the package to Aptfile in your workspace and rebuild.

By adding the apt packages to install to an Aptfile and deploying those changes to your app, you can ensure both your workspace and app are running with the same apt packages.

See App Structure, Buildpacks, and Deployment Lifecycle for more details on installing apt packages.