JAGS (Just Another Gibbs Sampler) Installation
Submitted by lev_lafayette on Thu, 05/21/2015 - 06:12JAGS is Just Another Gibbs Sampler. It is a program for analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) simulation not wholly unlike BUGS.
cd /usr/local/src/JAGS
wget http://downloads.sourceforge.net/project/mcmc-jags/JAGS/3.x/Source/JAGS-3.4.0.tar.gz
tar xvf JAGS-3.4.0.tar.gz
mv JAGS-3.4.0 jags-3.4.0
cd jags-3.4.0
../config
make
make check
make install
make installcheck
The config script takes the following form
#!/bin/bash
install=$(basename $(pwd) | sed 's%-%/%')