Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Prepare VirtualBox image

Installation notes for Virtual machine


  • BXA
  • MultiNest
  • PyMultiNest
  • Sherpa
  • Xspec

Starting from the Ubuntu server image

The username/password is ubuntu/reverse

Install graphical environment (optional):

sudo aptitude install --without-recommends ubuntu-desktop
sudo apt-get install gnome-shell gnome-panel gnome-system-tools pm-utils

follow for installing virtualBox guest additions:

sudo apt-get install module-assistant

MultiNest Prereqs:

sudo apt-get install python-{scipy,numpy,matplotlib,progressbar} ipython libblas{3,-dev} liblapack{3,-dev} libatlas{3-base,-dev} cmake build-essential git gfortran r-base r-base-dev

Set matplotlib backend to Agg instead of TkAgg in /etc/matplotlibrc

PyMultiNest and MultiNest installed as usual:

RMultiNest does not work in Ubuntu, possibly due to some stack smashing protection

Sherpa from ciao-install script, installing to ~ (default)

Xspec: download and extract Heasoft full source tarball

Prereqs (similar to here, but newer versions for libreadline, xorg-dev):

sudo apt-get install build-essential libreadline6-dev libncurses5 libncurses5-dev libpng12-{0,-dev} \
xorg-dev libx11-dev libxt-dev gfortran libcurl3 libcurl3-dev libgtk2.0-dev libpcre3 libpcre3-dev


cd heasoft-*/BUILD_DIR
./configure --prefix=$HOME/heasoft/ --with-components="Xspec" &&
make &&
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment