Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Jags command for Fedora Linux #123

Closed
dhvalden opened this issue Jul 9, 2024 · 1 comment · Fixed by #126
Closed

Incorrect Jags command for Fedora Linux #123

dhvalden opened this issue Jul 9, 2024 · 1 comment · Fixed by #126
Assignees

Comments

@dhvalden
Copy link

dhvalden commented Jul 9, 2024

There is no binaries for Fedora in the dnf repos. Jags for fedora has to be downloaded

@j-i-l
Copy link
Collaborator

j-i-l commented Jul 17, 2024

@dhvalden thanks for pointing this out.
It seems to me that on Fedora JAGS needs to be installed from source.

Also, when doing so, for some reason it gets installed under /usr/local/lib even on a 64-bit system which is a problem since libraries are expected to be in /usr/local/lib64.
Specifying the libdir explicitly for the configuration fixes this issue, so the installation procedure might look as follows:

wget -O /tmp/jags.tar.gz https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/JAGS-4.3.2.tar.gz/download
cd /tmp
tar -xf jags.tar.gz
cd /tmp/JAGS-4.3.2 
./configure --libdir=/usr/local/lib64
make
sudo make install

With #126 we've added the required steps to install JAGS and the rjags for Fedora, and other common operating systems to the README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants