Skip to content

Running Roxie/Xroxie on Linux or MAC

Connect to an existing Roxie server

Linux

From a linux machine, simply connect to the host using ssh -Y <hostname>. No tools or additional software required.

Mac

From a Mac, follow the following steps:

  1. Install xquartz as an X server.
  2. Enable indirect glx: defaults write org.xquartz.X11 enable_iglx -bool true (for XQuartz >=2.8) defaults write org.macosforge.xquartz.X11 enable_iglx -bool true (for XQuartz < 2.8).
  3. Connect to the host using ssh -Y <hostname>.
  4. Start Xroxie from the terminal, or runroxie directly.

Install roxie on a server

ROXIE runs on LINUX machines. The tested linux distributions at CERN are AlmaLinux8 and AlmaLinux9. Other distributions might work, but some dependencies might be broken and additional libraries need to be installed. The following steps assume you run AlmaLinux8.

  1. Download the ROXIE executable fitting the target system, e.g roxie_alma8.tgz
  2. Install the required packages on the system:

    ``` bash
    dnf install -y epel-release && dnf update -y && dnf install -y \
            flex-devel \
            git \
            git-lfs \
            tcllib \
            libglvnd-glx \
            libgfortran \
            passwd \
            sudo \
            nano \
            wget \
            yum-utils \
            emacs \
            openssl \
            m4 \
            mesa-libGLU \
            gv \
            which \
            python39 \
            python39-pip
    ```
    
    1. Create a installation folder and extract downloaded roxie executable to the system

      mkdir /roxie
      tar xf <roxie_download_path> -C /roxie
      
  3. Source the environment to use roxie

    ```bash
    source /roxie/alma8/roxie_env
    ```
    
  4. Execute Xroxie to check everything is working

    ```bash
    Xroxie
    ```