Tools‎ > ‎Short read samples‎ > ‎NCBI SRA file format‎ > ‎

Install SRA-tools

# create and go to install directory
cd $HOME/tools/sra-tools/

# download latest SRA-tools version (Ubuntu)
wget http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/current/sratoolkit.current-ubuntu64.tar.gz

# decompress
tar -xvzf sratoolkit.current-ubuntu64.tar.gz

# check directory name (sra-tools version)
ls
sratoolkit.2.8.2-1-ubuntu64/
sratoolkit.current-ubuntu64.tar.gz

# add location to system PATH (using current version directory name)
export PATH=$HOME/tools/sra-tools/sratoolkit.2.8.2-1-ubuntu64/bin:$PATH

# check installation
fastq-dump --help

fastq-dump -V
 fastq-dump : 2.8.2