
JAGS and rjags for Fedora 13 64 bit
May 30, 2010Unfortunately, JAGS is not in the Fedora repositories. However, it is very easy to install. This is a short how-to for installing JAGS and rjags for Fedora 13 64 bit and it should work for any 64 bit UNIX based OS. As a prerequisite, make sure you have the dependencies for JAGS installed (this is for Fedora only).
yum install R R-devel libblas-devel
Next thing you’ll want to do is to download the tarball and unpack it .
tar xvzf JAGS*
Next you need to tell it to install the libraries in /usr/local/lib64 otherwise you’ll need to tell rjags where to look for JAGS.
./configure --libdir=/usr/local/lib64
make
sudo make install
Next you can test that JAGS installed properly by typing:
jags
Once this is done, fire up R and install rjags like any other package and that’s it.
R
install.packages("rjags")
