Difference between revisions of "Installing EPCIS base"

From GlueXWiki
Jump to: navigation, search
Line 1: Line 1:
* Started on Ubuntu 10.04 on my 32-bit Linux notebook. I use <b>tcsh</b> as Linux shell.  
+
== Instructions How to Install EPICS Base on Linux Host ==
 +
 
 +
 
 +
* Started on Ubuntu 10.04 on my 32-bit Linux notebook. I use <b>tcsh</b> as Linux shell. Certain packages can be missing on different Linux distributions and may need to installed as needed.  
 
* Download EPICS base 3.14.11, which was the current stable version", in the form of tar file "baseR3.14.11.tar.gz" from [http://www.aps.anl.gov/epics/base/R3-14/index.php  EPICS web site].
 
* Download EPICS base 3.14.11, which was the current stable version", in the form of tar file "baseR3.14.11.tar.gz" from [http://www.aps.anl.gov/epics/base/R3-14/index.php  EPICS web site].
 
* Copy tar file into <i>/usr/local/epics</i> directory and unzip it there.MAke sure to have correct ownership of the directory.  
 
* Copy tar file into <i>/usr/local/epics</i> directory and unzip it there.MAke sure to have correct ownership of the directory.  
Line 9: Line 12:
 
* <i>make </i>
 
* <i>make </i>
 
* 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>
 
* 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>
 +
* At this point you should be able to  build application to be run on the host where you built Base or compatible systems. You probably will not have anything to be run on a different platforms, like VxWorks etc.

Revision as of 18:21, 2 April 2011

Instructions How to Install EPICS Base on Linux Host

  • Started on Ubuntu 10.04 on my 32-bit Linux notebook. I use tcsh as Linux shell. Certain packages can be missing on different Linux distributions and may need to installed as needed.
  • 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:"
  • At this point you should be able to build application to be run on the host where you built Base or compatible systems. You probably will not have anything to be run on a different platforms, like VxWorks etc.