Trying it on Ubuntu

The latest tag at the time of testing is v2_05_00.
This works on Ubuntu 14 and 15 (workstation) (as of 2015.11.20).

First, root privilege is needed to copy over SL6 libssl/libcrypto files:

cd /lib/x86_64-linux-gnu
sudo curl -O
sudo curl -O

Check that you have the following packages/apps.

sudo apt-get install git             # initial git clone and subsequence clones during
sudo apt-get install libc6-dev-i386  # to get /usr/include/sys/cdefs.h for build
sudo apt-get install default-jre     # to get java needed to compile the state machine code
sudo apt-get install csh             # used in running the demo (dependency to be removed in future release)
sudo apt-get install ruby            # running demo
sudo apt-get install libjpeg62       # running demo

mkdir -p $demo_base
cd $demo_base
kinit $USER@FNAL.GOV  # if appropriate (try it and see :)
git clone ssh://
#git clone  # do this if not authorized to make changes
cd artdaq-demo
git tag -l 'v[0-9]*' | tail -n1  # just to note latest tag

The next commands assume the bash shell.

export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu \
   UPS_OVERRIDE='-H Linux64bit+2.6-2.12' \
cd $demo_base
./artdaq-demo/tools/ --run-demo

If the latest tag noted above is not v2_05_00 and there is a problem, you could try:

./artdaq-demo/tools/ --run-demo --tag=v2_05_00

Building it on Ubuntu

Building artdaq bundle on Ubuntu from fresh install

sudo apt-get install git lsb-release lsb-core ruby libc6-dev-i386 zlib1g-dev libcurl4-openssl-dev openjdk-7-jre
mkdir artdaq-build
cd artdaq-build
chmod +x pullProducts
./pullProducts . source artdaq-v1_12_13
./pullProducts . source build_base-v4_9_2a
./pullProducts . u14 artdaq-v1_12_13 s15-e7 prof # See if built products already exist
./pullProducts . u14 artdaq-v1_12_13 s15-e7 debug # See if built products already exist
./pullProducts . u14 art-v1_15-02 e7 debug
./pullProducts . u14 art-v1_15-02 e7 prof
# (cd products;./TRACE/v3_05_00/ ${base}/products e7 tar)
./buildFW -t -b e7 -s s15 ${base}/products prof build_base-v4_9_2a
./buildFW -t -b e7 -s s15 ${base}/products prof artdaq-v1_12_13
./buildFW -t -b e7 -s s15 ${base}/products debug artdaq-v1_12_13

Running it on Ubuntu

sudo apt-get install git lsb-release ruby openjdk-7-jre krb5-user
mkdir artdaq-demo-base
cd artdaq-demo-base
git clone

# Fix MPICH product
cd products/mpich
cp v3_1_4.version/Linux64bit+3.13-2.19_e7_prof v3_1_4.version/Linux64bit+3.19-2.19_e7_prof
sed -i 's/Linux64bit+3.13-2.19/Linux64bit+3.19-2.19/g' v3_1_4.version/Linux64bit+3.19-2.19_e7_prof
ln -s v3_1_4/Linux64bit+3.13-2.19-e7-prof v3_1_4/Linux64bit+3.19-2.19-e7-prof
cd ../..

# Run quick start again
./artdaq-demo/tools/ --run-demo