NeuroDebian Virtual Machine¶
Installation | Working with the virtual machine | Troubleshooting | What has changed
I am a dedicated R user … and have a Windows box. But this afternoon I (finally) downloaded and installed NeuroDebian and the VirtualBox, ran AFNI, and generated the files I needed, all within about an hour and a half. […] not bad, considering that I know essentially no Linux/Unix. So here’s a big “thanks!” :)
—– [2012-03-15] Department of Psychology, Washington University
For all systems running a non-Debian-based operation system, such as MS Windows or Mac OS X, we offer a virtual machine that can be equipped with a large variety of neuroscience software with just a few mouse clicks (e.g. AFNI, FSL, PyMVPA).
The virtual machine contains an installation of Debian 8.0 (jessie) with a XFCE4 desktop environment. All installed software comes from standard Debian packages, or prospective Debian packages from NeuroDebian. The virtual machine can be seen as a showcase of what Debian for neuroscience research feels like. Once downloaded this virtual machine can be kept up to date, just as any other Debian installation. Using convenient graphical package management tools users will benefit from security bug fixes provided by the Debian project for the whole operating system, as well as from software updates for neuroscience-related packages.
Even on Debian-based systems this virtual machine is an excellent way to maintain an analysis environment that remains identical throughout the lifetime of a study and that can be archived alongside acquired data and publications. This is a much more practical way than freezing the entire software stack of a whole workstation, where it quickly becomes troublesome to combine the desire for latest research methodology for new studies and the need for stability for ongoing projects.
Installation¶
The following instructions demonstrate how to install the NeuroDebian virtual
machine – here shown exemplary for Mac OS X, but the procedure is virtually
identical on a Windows box. There is also a video tutorial at coffee break
length. .
If you don’t have t already, first download and install a recent version of VirtualBox. VirtualBox is a virtualization software that is freely available for Windows, MacOS X, Solaris, and Linux. VirtualBox comes with a comprehensive manual that should answer potential questions regarding installation and maintenance.
Obtain the most recent version of the NeuroDebian virtual machine by visiting http://neuro.debian.net and selecting your operating system and a download server on the frontpage.
Start VirtualBox and select “Import Appliance” from the file menu.

The next dialog will ask you to choose a virtual machine. Please navigate to the extracted NeuroDebian download and select the .ova (or extracted .ovf for older appliances shipped as .zip) file.

You can finish importing of NeuroDebian by clicking on next a couple of times. There is no need to change anything, as we will get through the settings in a second. Importing of the virtual machine will take a short while, as it is distributed in a compressed format that now gets extracted (total extracted size about 2 GB). Once imported, the NeuroDebian virtual machine will appear in the list of available machines. Do not start it yet, but select NeuroDebian and hit the Settings button. In the following dialog you’ll have a chance to configure the machine. You can assign the amount of RAM that should be made available to it (for serious fMRI data processing, please allow at least 2 GB). If you have a recent computer with multiple CPU cores, you can also decide how many cores should be used by the virtual machine.

However, most important is the Shared Folders setup. Shared folders allow the virtual machine to access the local harddrive of the host computer. This is an easy way to access data on the computer without duplicating it or using the network to access it. The virtual machine is preconfigured to access a shared folder named labeled “host”. Click on the add button to select a folder that shall be accessible by the machine (e.g. your home directory) and put “host” as the folder name and mark it to be auto-mounted. Note, the folder name is simply a label. Your directory will not be renamed.

If you have a large screen you should increase the display memory to 32 MB in the Display settings. Also you might like to enable the support for 3D Acceleration

Finally, close the settings dialog. You have now completed the setup, and you can start the virtual machine by hitting the Start button. A new window will appear showing the boot process. After a short while the NeuroDebian desktop will appear, and a setup wizard will guide your through the final steps of the configuration. You can now explore the system. The virtual machine is connected with your host computer, and shares its Internet connection. Via this connection you can update the contained software packages at any time.

The virtual machine logs yourself in automatically. This is the default account:
- user:
brain
- password:
neurodebian
- root password:
neurodebian
In most cases you should not be forced to type the password, because sudo
is configured to work without it.
Note
For increased security you might want to change the default password. You can
do so by opening a terminal window and running the passwd
command.
Working with the virtual machine¶
The NeuroDebian virtual machine has very low maintenance demands. We have
prepared a short video demo that shows most typical procedures that you will
probably perform while working with NeuroDebian inside a virtual machine:
use the virtual machine in full-screen and seamless mode, shared folder access,
software installation, as well as suspending and resuming the
virtual machine.
Troubleshooting¶
- Updating the VM or installing new packages doesn’t work
- Our proxy setup at work prevents APT from downloading packages
- I cannot hear sounds played in the virtual machine
- My VM lost mounted host directories after upgrading from VirtualBox from 3.x to 4.x
- My VM lost mounted host directories, and display auto-resizing after upgrade
- I am still running an older VirtualBox 3.x
What has changed¶
- 8.0.0 – 5 May 2015
- 7.8.0 – 2 Feb 2015
- 7.4.20140423 – 24 Apr 2014
- 7.4.0 – 28 Feb 2014
- 7.2.0 – 03 Nov 2013
- 7.0.0 – 15 May 2013
- 6.999.b4.20130421 – 22 Apr 2013
- 6.999.b4.20121231 – 31 Dec 2012
- 6.0.6 – 01 Oct 2012
- 6.0.5 – 10 Nov 2011
- 6.0.4 – 13 Jun 2011
- 6.0.3 – 12 Jun 2011 [Superseded in the archive by 6.0.4]
- 6.0.2 – 08 Feb 2011
- 6.0.1 – 01 Dec 2010