Difference between revisions of "Installing EPCIS base"

From GlueXWiki
Jump to: navigation, search
Line 8: Line 8:
 
* <i>cd $EPICS_BASE </i>
 
* <i>cd $EPICS_BASE </i>
 
* <i>make </i>
 
* <i>make </i>
* This will install the main libraries and executables of EPICS.
+
* This will install the main libraries and executables of EPICS. You will need to add the EPICS base bin directory to the <b>PATH</b> environment variable to use EPICS: <i>setenv PATH "$PATH"":$EPICS_BASE/bin/linux-x86:"</i>

Revision as of 17:07, 2 April 2011

  • Started on Ubuntu 10.04 on my 32-bit Linux notebook. I use tcsh as Linux shell.
  • Download EPICS base 3.14.11, which was the current stable version", in the form of tar file "baseR3.14.11.tar.gz" from EPICS web site.
  • Copy tar file into /usr/local/epics directory and unzip it there.MAke sure to have correct ownership of the directory.
  • Create a soft link /usr/local/epics/base/ pointing to the directory with the newly created version of EPICS distribution.
  • Edit /usr/local/epics/base/startup/Site.cshrc file and comment out the line with echo $ADTHOME.
  • Check that the /usr/local/epics/base/startup/EpicsHostArch.pl script returns the correct architecture for the computer system you are installing EPICS on..
  • Source the EPICS base setup script /usr/local/epics/base/startup/Site.cshrc
  • cd $EPICS_BASE
  • make
  • This will install the main libraries and executables of EPICS. You will need to add the EPICS base bin directory to the PATH environment variable to use EPICS: setenv PATH "$PATH"":$EPICS_BASE/bin/linux-x86:"