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 12.04 or later, 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 12.04:
sudo /bin/bash -c "echo 'deb precise/amd64/' > /etc/apt/sources.list.d/dnanexus.list"
sudo /bin/bash -c "echo 'deb precise/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 Alan Zhu, 2016-09-30 21:11:58