Accessing the DNAnexus Ubuntu APT repository

This page lists instructions for installing DNAnexus software on Ubuntu computers outside the Platform. For information about using third-party APT repositories in your app running on DNAnexus, see External APT Repositories in the Execution Environment Reference.

If you're running Ubuntu 14.04 or 16.04, the easiest way to make sure your DNAnexus SDK is always up-to-date is to install it from our APT repository (more info about APT). To set up the repository on your computer:

# (1) Add the repository by doing one of the following.
# On Ubuntu 16.04:
sudo /bin/bash -c "echo 'deb xenial/amd64/' > /etc/apt/sources.list.d/dnanexus.list"
sudo /bin/bash -c "echo 'deb xenial/all/' >> /etc/apt/sources.list.d/dnanexus.list"
# On Ubuntu 14.04:
sudo /bin/bash -c "echo 'deb trusty/amd64/' > /etc/apt/sources.list.d/dnanexus.list"
sudo /bin/bash -c "echo 'deb trusty/all/' >> /etc/apt/sources.list.d/dnanexus.list"

# (2) Load the DNAnexus repository signing key.
sudo apt-key add ubuntu-signing-key.gpg

Now you can install dx-toolkit:

sudo apt-get update; sudo apt-get install dx-toolkit

To activate the installation and begin using dx-toolkit:

source /etc/profile.d/

Last edited by Kurt Jensen, 2018-08-01 22:53:16