McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics


Project Status
 Project Partners
 Project People

 Mac OSX Installation
 Windows Installation

Mailing List



Minutes of Meetings

McXtrace Art

About McXtrace




Installation instructions for McXtrace

Below are listed instructions on how to install McXtrace on some of the supported platforms. For other platforms please use the source tarball distribution.

Debian/Ubuntu class Linux systems

The simplest way to get a McXtrace running on this type of system is to simply add the McXtrace repository to your list of source for .deb files, and then rely on

to get any required dependencies. This may be done by issuing the following commands as root:
cd /etc/apt/sources_list.d/
apt-get update
This adds the mccode repository to the list of searched repositories:
mcxtrace@debian:~$ apt-cache search mcxtrace |grep 1.4
mcxtrace-1.4 - mcxtrace built using CMake
mcxtrace-clustertools-1.4 - perl-cluster-tools built using CMake
mcxtrace-comps-1.4 - mcxtrace-comps built using CMake
mcxtrace-manuals-1.4 - mcxtrace_manuals built using CMake
mcxtrace-tools-matlab-mxplot-1.4 - matlab-tools-mcplot built using CMake
mcxtrace-tools-perl-1.4 - legacy-tools built using CMake
mcxtrace-tools-perl-cmdline-1.4 - legacy-tools-cmdline built using CMake
mcxtrace-tools-python-mccodelib-1.4 - python-tools-mccodelib built using CMake
mcxtrace-tools-python-mxdisplay-pyqtgraph-1.4 - python-tools-mcdisplay-pyqtgraph built using CMake
mcxtrace-tools-python-mxdisplay-webgl-1.4 - python-tools-mcdisplay-webgl built using CMake
mcxtrace-tools-python-mxgui-1.4 - python-tools-mcgui built using CMake
mcxtrace-tools-python-mxplot-matplotlib-1.4 - python-tools-mcplot built using CMake
mcxtrace-tools-python-mxplot-pyqtgraph-1.4 - python-tools-mcplot-pyqtgraph built using CMake
mcxtrace-tools-python-mxrun-1.4 - python-tools-mcrun built using CMake
To avoid installing all of these packages individually it is possible to install a meta-package wich includes a typical set of the above:
apt-get install mcxtrace-suite-python
The old perl-based tools are available, but we recommend you switch to the new python tools as the old tools are being decommissioned. Please report any problems with repository or installation to We will do our utmost to help you.

Red Hat class Linux systems

McXtrace provides a package repository for use with RedHat-based distributions, such as RedHat, Fedora, CentOS and Scientific Linux. To allow automatic update of your mcxtrace, mcxtrace-components and tools when new revisions are relased, follow the below instruction. On RedHat class systems (including Scientific Linux, CentOS etc.): cd /etc/yum.repos.d sudo wget sudo yum update This makes your system aware of the McXtrace packages:
[mcxtrace@centos]$ yum search mcxtrace |grep -v 1.2 |grep -v 1.1
Loaded plugins: security
============================ N/S Matched: mcxtrace =============================
mcxtrace-1.4.x86_64 : mcxtrace built using CMake
mcxtrace-comps-1.4.x86_64 : mcxtrace-comps built using CMake
mcxtrace-manuals-1.4.x86_64 : mcxtrace_manuals built using CMake
mcxtrace-suite.x86_64 : A metapackage for McXtrace + perl and python tools
mcxtrace-suite-perl.x86_64 : A metapackage for McXtrace + perl tools
mcxtrace-suite-python.x86_64 : A metapackage for McXtrace + python tools
mcxtrace-clustertools-1.4.x86_64 : perl-cluster-tools built using CMake
mcxtrace-miniconda3-1.4.x86_64 : miniconda3 built using CMake
mcxtrace-tools-matlab-mxplot-1.4.x86_64 : matlab-tools-mcplot built using CMake
mcxtrace-tools-perl-1.4.x86_64 : legacy-tools built using CMake
mcxtrace-tools-perl-cmdline-1.4.x86_64 : legacy-tools-cmdline built using CMake
mcxtrace-tools-python-mccodelib-1.4.x86_64 : python-tools-mccodelib built using
mcxtrace-tools-python-mxdisplay-webgl-1.4.x86_64 : python-tools-mcdisplay-webgl
mcxtrace-tools-python-mxgui-1.4.x86_64 : python-tools-mcgui built using CMake
mcxtrace-tools-python-mxplot-matplotlib-1.4.x86_64 : python-tools-mcplot built
mcxtrace-tools-python-mxplot-pyqtgraph-1.4.x86_64 : python-tools-mcplot-pyqtgraph
mcxtrace-tools-python-mxrun-1.4.x86_64 : python-tools-mcrun built using CMake
Please note that our rpm-packages in the repo have been built using a centos7.2 machine. For older machines it may be preferrable to use a set of packages built on Scientific Linux 6.1. These may be found here:Scientific Linux rpms. Please report any problems with repository or installation to We will do our utmost to help you.

FreeBSD systems

We will support FreeBSD systems through the native ports/package system. This will be made available shortly.

Last Modified: Friday, 15-Dec-2017 16:24:40 CET
Search website mailinglist archive SVN repos McCode Trac