CACTUS Installation

This page contains instructions on how to install different CACTUS builds on supported operating systems. Many of these same instructions can be found the CACTUS wiki at

Install CACTUS on SLC5
Install CACUS on SL5
Install PyChips

Install CACTUS on SLC5 (Scientific Linux CERN)

CACTUS installation on SLC5 is supported by RPM/YUM

  1. Download the CACTUS repo file
  2. Copy the repo file to /etc/yum.repos.d
       $ sudo cp cactus.repo /etc/yum.repos.d
  3. Install the software using YUM
       $ sudo yum groupinstall cactus
  4. When installation is complete, then the CACTUS software package should be in /opt/cactus

Install CACTUS on SL5 (Scientific Linux)

CACTUS installation on SL5 is not supported by RPM/YUM and must be done manually.

  1. Install the prerequisites for the installation using YUM
       $ sudo yum -y install bzip2-devel zlib-devel ncurses-devel python-devel readline-devel
  2. Check out the code from SVN into the desired location your machine.
       $ svn co
  3. Be sure the CACTUS root directory trunk/ is where you want it. In the following steps, I will just assume the code has been checked out into the user's home directory.
  4. Go the 'trunk' directory of the CACTUS code and build the package
       $ cd ~/trunk/
       $ make
  5. The build may take a long time--on the order of an hour--so be patient. If any errors occur, make sure that all of the above-mentioned prerequisites are indeed installed and up-to-date, and try again.

Install PyChips

NOTE that PyChips is not supported by IPbus v2, and therefore will not work with the AMC13XG or greater than AMC13 rev1 T1/T2 firmware version 0x25/0x13. PyChips installation is not supported by RPM/YUM and must be done manually

  1. Download the PyChips tar file from SVN to the desired directory on your machine (i.e. ${HOME}/PyChips_1_4_3)
       $ svn co ~/PyChips_1_4_3
  2. Set your environment
       $ export PYTHONPATH=$HOME/PyChips_1_4_3/src:$PYTHONPATH
  3. PyChips is successfully installed! In order to use it in a python script, be sure to include the statement from PyChipsUser import * at the head of your file

-- CharlieHill - 26 Oct 2012

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 04 Sep 2013 - DavidZou
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback