h1

WinBUGS and OpenBUGS on Debian GNU/Linux Lenny

October 24, 2009

A quick how-to for installing WinBUGS and OpenBUGS on Debian GNU/Linux Lenny. I am sure this will work on other distributions. The only issue might be that certain distributions ship different versions of wine . I am use wine 1.0.1, with other versions of wine YMMV.

First, install wine

su -
aptitude install wine

Second, go here and download the WinBUGS and OpenBUGS binaries. It is important to note that OpenBUGS is the development version of WinBUGS and it’s open-source.

I also encourage you to check out JAGS. I have created a 64-bit package of JAGS that is available here for Debian. If you’re a R user and do a lot of multilevel modeling, I recommend MCMCglmm .

Third, assuming you’ve downloaded these files to ~/Downloads, for WinBUGS do the following:

unzip ~/Downloads/winbugs14.zip

And for OpenBUGS do the following:


mkdir -p ~/Downloads/openbugs
mv ~/Downloads/OpenBUGS.zip ~/Downloads/openbugs
unzip ~/Downloads/openbugs/OpenBUGS.zip

Now everything is ready to go. To launch WinBUGS:

wine ~/Downloads/WinBUGS14/WinBUGS14.exe

To launch OpenBUGS:

wine ~/Downloads/openbugs/winbugs.exe

Note the first line of code is for WinBUGS and the second line is for OpenBUGS.

Don’t forget to add the immortality key and the

2 comments

  1. The Brug package is not available for the Linux platform. Is there a way to interface OpenBugs and R under Linux?


    • I have never tried to run Brugs in Linux. I am sorry. Maybe someone reading this blog might be able to help.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: