Skip to content

SL7 Quick Install

rrivera747 edited this page Aug 21, 2024 · 4 revisions

SL7 Quick Install

Here are the instructions for the quickest install of Off-the-Shelf DAQ on Scientific Linux 7. The result will be a folder called ots/ with the source code updated and compiled (please let us know if you have problems by opening a ticket here if you have issues):

# Find a Scientific Linux 7 machine, and download the install script here: otsdaq_utilities/tools/quick_ots_install.sh

# If you have root access, switch to root, if not you can try running as yourself (but if it fails, you will need root access):

cd /where/you/want/your/ots/folder      # e.g. cd ~/ 
mv /where/you/downloaded/the/script .   # move the downloaded quick_ots_install.sh script to this folder
ksu                                     # (optional) to become root superuser, if you can
chmod 755 quick_ots_install.sh          # to make the installer executable
./quick_ots_install.sh                  # to run the installer
  1. That’s it. Read the printouts at the end of the installation for next steps, or go to otsdaq.fnal.gov for running otsdaq and tutorials.

Adding other repositories

- If you want to add more repositories to your installation try this:

mrb g <name of repo> #eg. mrb g artdaq_utilities

# mrb g -h for options should generically work for all repos, but there is an ots helper script too:
#    source ots_get_and_fix_repo.sh <repo name> <project name> <folder name for local repo creation>
#    for example:
#        source ots_get_and_fix_repo.sh   components-epics   components   otsdaq_epics

...
# when done adding repos, do this:
mrb uc     # to fix your CMakelists to include your repository modifications
mrb z      # to clean build

If you have problems with the above instructions, you might find some help in these more detailed installation instructions:

SL6-7 Install as a User

SL7 Instructions for Developers

Clone this wiki locally