Sha256: f3a70a85becfa3966666bc89af60b2ae9db61a39d6f3d9fcbe781dd08a9c291f

Contents?: true

Size: 581 Bytes

Versions: 1

Compression:

Stored size: 581 Bytes

Contents

#!/usr/bin/env bash
#
# Painless DTrace install for Ubuntu
#

DISTRIBUTION=dtrace-20081028

download()
{
    sudo apt-get install curl
    if [ ! -e ${DISTRIBUTION} ]; then
        echo "\n==== Downloading DTrace for Linux ====\n"
        curl -O ftp://crisp.dynalias.com/pub/release/website/dtrace/${DISTRIBUTION}.tar.bz2
        tar jxvf ${DISTRIBUTION}.tar.bz2
    fi
}

install_dependencies()
{
    sudo apt-get install zlib1g-dev flex bison elfutils libelf-dev libc6-dev linux-libc-dev
}

build()
{
    make -C ${DISTRIBUTION} clean all
}

download
install_dependencies
build

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xray-1.1 bin/install_dtrace_on_ubuntu