Revision [1815]
Last edited on 2012-10-13 22:36:27 by MarioKleiner [Add info about Debian-7 and Ubuntu 12.10]Additions:
====Debian-7/testing/unstable, Ubuntu 12.10 and later installation====
Psychtoolbox-3 for octave is part of current Debian unstable/testing/experimental, as well as the official Debian-7.0 and Ubuntu 12.10 distributions. Everything said in the "Neuro Debian" section applies, except you don't need to add the Neuro Debian ppa to your software sources. Simply use your favorite package manager to install the psychtoolbox-3 package and you're done. E.g., in a terminal window on Ubuntu 12.10:
sudo apt-get install psychtoolbox-3
With older Matlab versions execution of Screen() may lead to mex file errors. Often these errors arise from outdated versions of libz that come with the old Matlab. To get rid of this problem, delete or move all libz*.so* files in your Matlab/bin/glnx86 folder.
Psychtoolbox-3 for octave is part of current Debian unstable/testing/experimental, as well as the official Debian-7.0 and Ubuntu 12.10 distributions. Everything said in the "Neuro Debian" section applies, except you don't need to add the Neuro Debian ppa to your software sources. Simply use your favorite package manager to install the psychtoolbox-3 package and you're done. E.g., in a terminal window on Ubuntu 12.10:
sudo apt-get install psychtoolbox-3
With older Matlab versions execution of Screen() may lead to mex file errors. Often these errors arise from outdated versions of libz that come with the old Matlab. To get rid of this problem, delete or move all libz*.so* files in your Matlab/bin/glnx86 folder.
Deletions:
Additions:
With older Matlab versions execution of Screen() may lead to mex file errors. Often these errors arise from outdated versions of libz that come with the old Matlab. To get rid of this problem, delete or move all libz*.so* files in your Matlab/bin/glnx86.
Deletions:
Additions:
====Older Matlab Versions and libz====
With older Matlab versions execution of Screen() may lead to mex file errors. Often these errors arise from outdated versions of libz libraries shipped with the old Matlab. To get rid of this problem, delete or move all libz*.so* files in your Matlab/bin/glnx86.
With older Matlab versions execution of Screen() may lead to mex file errors. Often these errors arise from outdated versions of libz libraries shipped with the old Matlab. To get rid of this problem, delete or move all libz*.so* files in your Matlab/bin/glnx86.
Revision [1736]
Edited on 2011-11-30 19:33:08 by ErikFlister [Add info about Debian-7 and Ubuntu 12.10]Additions:
The Linux specific code in PTB is currently being developed and tested using [[http://www.ubuntu.com/ Ubuntu Linux provided by Canonical]]. We recommend this distribution because it is beginner friendly and constantly tested with Psychtoolbox. However, there is nothing wrong with other Linux distributions, so feel free to use them, but keep in mind we can only provide you with support for Ubuntu at the moment. See UsingPsychtoolboxOnUbuntu for more details and instructions on Ubuntu Linux. Or UsingPsychtoolboxOnFedora for Fedora.
Deletions:
Additions:
[[http://www.linuxfoundation.org GNU/Linux is the recommended operating system of choice for demanding experimental setups and experimental paradigms]]. Linux, due to it being a true free software / open-source operating system provides us and you with a couple of advantages:
Deletions:
Additions:
GNU/Linux is the recommended operating system of choice for demanding experimental setups and experimental paradigms. Linux, due to it being a true free software / open-source operating system provides us and you with a couple of advantages:
~- Thanks to its open source nature and constant community development and peer review of its code-base, it generally exhibits less bugs as well as higher performance and robustness in areas of functionality that matter especially for demanding experimental paradigms, e.g., precision and robustness of timing, resource usage and efficiency. The system is also much more flexible and tweakable, should performance tuning and customization be neccessary for special experiment setups.
~- The open access to its source code allows us to review the implementation of important low-level implementation details. This allows us to understand how and why the system behaves in a certain way and thereby allows us to implement a better low-level integration between Psychtoolbox and the operating system. Apple's OS X and Microsoft's Windows are mostly black boxes for us, leaving us with guess-work about many implementation details, which leads to suboptimal integration with Psychtoolbox.
~- The open development process allows us to participate in the design, implementation, improvement and bug-fixing of crucial operating system components ourselves. We can help to fix and improve the underlying infrastructure and plumbing instead of having to resort to ugly and suboptimal hacks in Psychtoolbox itself to work around the unfixable flaws of a black box.
Very old and obsolete instructions for Linux are kept in PsychtoolboxDownloadLinux for posterity. However, this is usually not what you want.
====Installation via Subversion====
This works the same as on Windows or OSX, so follow the instructions on the main Download page. However, Psychtoolbox requires a few software libraries to be installed on your Linux system. The installer will tell you what kind of libraries you need to install, should some of them be missing. For the most simple way of installation, read on.
====Neuro Debian installation====
The most convenient way of installation if you use a Debian GNU/Linux system or a Debian derivative, e.g., Ubuntu Linux, is the [[http://neuro.debian.net Neuro Debian repository of neuro-science software.]] It provides you with a large number of popular neuro-science related software packages, optimally configured for use on Debian and Ubuntu, with a convenient installation via the package management system of your Linux distribution. If you install the package octave-psychtoolbox-3, your system will be automatically configured and tuned for use with Psychtoolbox under GNU/Octave. If you prefer to run Psychtoolbox with Matlab, you can can run the function [[http://docs.psychtoolbox.org/DownloadAdditionsForNeuroDebian DownloadAdditionsForNeuroDebian]] from within a Matlab running under Linux. It will install a few additional files needed to run Psychtoolbox with Matlab on Linux.
The Linux specific code in PTB is currently being developed and tested using [[http://www.ubuntu.com/ Ubuntu Linux provided by Canonical]]. We recommend this distribution because it is beginner friendly and constantly tested with Psychtoolbox. However, there is nothing wrong with other Linux distributions, so feel free to use them, but keep in mind we can only provide you with support for Ubuntu at the moment. See UsingPsychtoolboxOnUbuntu for more details and instructions on Ubuntu Linux.
~- Thanks to its open source nature and constant community development and peer review of its code-base, it generally exhibits less bugs as well as higher performance and robustness in areas of functionality that matter especially for demanding experimental paradigms, e.g., precision and robustness of timing, resource usage and efficiency. The system is also much more flexible and tweakable, should performance tuning and customization be neccessary for special experiment setups.
~- The open access to its source code allows us to review the implementation of important low-level implementation details. This allows us to understand how and why the system behaves in a certain way and thereby allows us to implement a better low-level integration between Psychtoolbox and the operating system. Apple's OS X and Microsoft's Windows are mostly black boxes for us, leaving us with guess-work about many implementation details, which leads to suboptimal integration with Psychtoolbox.
~- The open development process allows us to participate in the design, implementation, improvement and bug-fixing of crucial operating system components ourselves. We can help to fix and improve the underlying infrastructure and plumbing instead of having to resort to ugly and suboptimal hacks in Psychtoolbox itself to work around the unfixable flaws of a black box.
Very old and obsolete instructions for Linux are kept in PsychtoolboxDownloadLinux for posterity. However, this is usually not what you want.
====Installation via Subversion====
This works the same as on Windows or OSX, so follow the instructions on the main Download page. However, Psychtoolbox requires a few software libraries to be installed on your Linux system. The installer will tell you what kind of libraries you need to install, should some of them be missing. For the most simple way of installation, read on.
====Neuro Debian installation====
The most convenient way of installation if you use a Debian GNU/Linux system or a Debian derivative, e.g., Ubuntu Linux, is the [[http://neuro.debian.net Neuro Debian repository of neuro-science software.]] It provides you with a large number of popular neuro-science related software packages, optimally configured for use on Debian and Ubuntu, with a convenient installation via the package management system of your Linux distribution. If you install the package octave-psychtoolbox-3, your system will be automatically configured and tuned for use with Psychtoolbox under GNU/Octave. If you prefer to run Psychtoolbox with Matlab, you can can run the function [[http://docs.psychtoolbox.org/DownloadAdditionsForNeuroDebian DownloadAdditionsForNeuroDebian]] from within a Matlab running under Linux. It will install a few additional files needed to run Psychtoolbox with Matlab on Linux.
The Linux specific code in PTB is currently being developed and tested using [[http://www.ubuntu.com/ Ubuntu Linux provided by Canonical]]. We recommend this distribution because it is beginner friendly and constantly tested with Psychtoolbox. However, there is nothing wrong with other Linux distributions, so feel free to use them, but keep in mind we can only provide you with support for Ubuntu at the moment. See UsingPsychtoolboxOnUbuntu for more details and instructions on Ubuntu Linux.
Deletions:
Obsolete instructions are kept in PsychtoolboxDownloadLinux for posterity
The Linux specific code in PTB is currently being developed using Ubuntu; see UsingPsychtoolboxOnUbuntu for more details...
Additions:
=====Using PTB on Linux=====
====Manual Installation====
Obsolete instructions are kept in PsychtoolboxDownloadLinux for posterity
====Choice of Distribution====
====Manual Installation====
Obsolete instructions are kept in PsychtoolboxDownloadLinux for posterity
====Choice of Distribution====
Deletions:
=====Choice of Distribution=====
Additions:
Being open-source, handling low-level integration with the OS appears to be much more amenable to hacking using Linux than with either OS X or Windows.
The Linux specific code in PTB is currently being developed using Ubuntu; see UsingPsychtoolboxOnUbuntu for more details...
The Linux specific code in PTB is currently being developed using Ubuntu; see UsingPsychtoolboxOnUbuntu for more details...
Deletions:
The Linux specific code in PTB is currently being developed using Ubuntu; see UsingPsychtoolbonOnUbuntu for more details...