Installing Optional Packages
And managing them using eups.
For example, the DC3 downloadable virtual machines use this approach.
Sun Java
- download Sun's .bin-packaged JDK
- install it in /lsst/opt/java (execute the .bin package there, and it will install in-place)
- create /lsst/opt/java/<version>/ups/java.table and jdk.table, containing:
envSet(JAVA_HOME, ${PRODUCT_DIR}) envPrepend(PATH, ${PRODUCT_DIR}/bin) - eups declare -c -r /lsst/opt/java/jdk1.6.0_14 java 1.6.0+14 (that is, if your version is 1.6.0_14)
- eups declare -c -r /lsst/opt/java/jdk1.6.0_14 jdk 1.6.0+14
See Also
- Notes on installing alternate versions of gcc
