Please click here, License, before downloading OpenBUGS software
Release (3.2.2) of OpenBUGS is now available. Changes to the version 3.2.1 are documented in changes. Release (3.2.2) of OpenBUGS has been tested and compared to the WinBUGS 1.4.3 program (Test Results). The only difference with WinBUGS 1.4.3 was with the 'Shared' GeoBUGS example. This discrepancy is still under evaluation. The computational speed of OpenBUGS is comparable to the WinBUGS (timing comparisons). To report problems, please register and use the BugTracker page.
User contributed code, including BRugs/R2OpenBUGS, is located at User Contributed Code.
Microsoft Windows Download
A setup program for OpenBUGS on Windows computers can be downloaded here: OpenBUGS322setup.exe.
The Windows program was tested on machines with the XP and Vista operating systems, and produced the same results.
The Windows version of OpenBUGS has been successfully installed on Mac OS X (Intel) using WINE. The Windows installer currently produces an error message at shutdown, but appears to install the program successfully. Testing under WINE has been VERY limited so far.
The MAC binary version of R2OpenBUGS on CRAN (3.2-1.4) is out of date and will not work with OpenBUGS 3.2.2. For now, Mac users should use install.packages('R2OpenBUGS',type='source') to install the latest (3.2-2.1) version of R2OpenBUGS.
Should be usable on any x86 (PC) Linux platform. On 64 bit Linux, the necessary 32-bit C development packages are required. Compilation has been successful on 64-bit Ubuntu using the g++-multilib package, and on 64-bit Fedora using the glibc-devel package.
To install this, unpack by typing
tar zxvf OpenBUGS-3.2.2.tar.gz cd OpenBUGS-3.2.2
then compile and install by typing
./configure make sudo make install
The "sudo" is included since "make install" requires root (administrative) privileges by default. If you don't have administrative access, you can get around this by installing in a location other than /usr/local, for example /home/chris/usr :
./configure --prefix=/home/chris/usr make make install
OpenBUGS for Linux is a command-line program and there is no graphical user interface. Instructions for invoking OpenBUGS can be obtained by typing
Fedora 16, 32-bit: openbugs-3.2.2-2.i386.rpm
Fedora 16, 64-bit: openbugs-3.2.2-2.x86_64.rpm
Fedora 17, 32-bit: openbugs-3.2.2-2.i386.rpm
Fedora 17, 64-bit: openbugs-3.2.2-2.x86_64.rpm
Fedora 18, 64-bit: openbugs-3.2.2-4.x86_64.rpm
Many thanks to Paul Johnson for building these.
What files come with the download?
The Microsoft Windows and Linux versions of OpenBUGS share the same code. They differ only in their interface coding and the linking methods used to create the executable code. The Linux version of the program does not come with a GUI, and it cannot produce GUI-dependent graphical displays. Results from the Windows and Linux versions of OpenBUGS have been compared for exact agreement on all of the examples distributed with OpenBUGS.
OpenBUGS.exe is a small executable that initiates the OpenBUGS GUI interface. Most of the code needed for execution is dynamically linked.
<multiple files>.ocf are contained in several sub-directories. These are dynamically-linked compiled code files (Component Pascal) that must be present in the same directory as OpenBUGS.exe and should not be changed or moved.
<multiple files>.odc are contained in several sub-directories. These files contain the source code corresponding to the .ocf files, and supporting material such as manuals, examples, and logos. They must be present in the same directory as OpenBUGS.exe and should not be changed or moved.
libOpenBUGS.dll is a Windows linked library containing the code from the <files>.ocf. The dll is not used when executing the OpenBUGS GUI. It is available for programmers to call OpenBUGS functions from other programs (e.g., BRugs in R).
$OpenBUGS/bin/OpenBUGS is a BASH shell script that can be used to execute OpenBUGS script commands from a file or terminal input.
$OpenBUGS/bin/OpenBUGSCli is a compiled C program (called by the OpenBUGS shell script) that controls the script command input and ASCII log output (to a file or screen) and calls the OpenBUGS functions needed to execute the OpenBUGS script commands.
$OpenBUGS/lib/libOpenBUGS.so is an ELF Linux shared object that contains the code from <files>.ocf. The code in the shared object is called by OpenBUGSCli. It is analogous to the Windows OpenBUGS.dll.
$OpenBUGS/doc A directory installed with the executable code containing HTML versions of the user manuals and examples,
OpenBUGS is installed by default in directory $OpenBUGS, by default /usr/local/lib/OpenBUGS.
Older distributions of OpenBUGS included several different user interfaces, which were given different names, but all executed the same numerical code. The version with the most potential for confusion was the GUI interface, which was named "WinBUGS.exe". It has been replaced by "OpenBUGS.exe". The Linux version of the program was called linBUGS; the different components of the Linux distribution are now named OpenBUGS, and the version numbers on Linux match the Windows version numbers. The older distributions also contained a Windows program called "ClassicBUGS.exe". ClassicBUGS was designed as a command-line script interpreter with the same functionality as the Linux version of the program. "ClassicBUGS.exe" has been eliminated. Instructions in the "Scripts and Batch-Mode' section of the User Manual contain instructions for batch command-line script execution in Windows using OpenBUGS.exe.
Older versions of the program are archived here: Archive.