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 http://dnanexus-apt-prod.s3.amazonaws.com/ubuntu precise/amd64/' > /etc/apt/sources.list.d/dnanexus.list"
sudo /bin/bash -c "echo 'deb http://dnanexus-apt-prod.s3.amazonaws.com/ubuntu precise/all/' >> /etc/apt/sources.list.d/dnanexus.list"
# On Ubuntu 14.04:
sudo /bin/bash -c "echo 'deb http://dnanexus-apt-prod.s3.amazonaws.com/ubuntu trusty/amd64/' > /etc/apt/sources.list.d/dnanexus.list"
sudo /bin/bash -c "echo 'deb http://dnanexus-apt-prod.s3.amazonaws.com/ubuntu trusty/all/' >> /etc/apt/sources.list.d/dnanexus.list"

# (2) Load the DNAnexus repository signing key.
wget https://wiki.dnanexus.com/images/files/ubuntu-signing-key.gpg
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/dnanexus.environment.sh

Last edited by Alan Zhu, 2016-09-30 21:11:58

 Feedback