Project

General

Profile

TOC PREV NEXT
Fermilab CD logo Complete Guide and Reference Manual for UPS and UPD

Chapter Contents

Chapter 14: Installing UPS and UPD from Bootstrap
   14.1 Before You Install
     14.1.1 Predefined Configuration vs. Manual Install
     14.1.2 Installation Media
     14.1.3 Check with your Experiment
   14.2 Downloading the Bootstrap and Configuration Files
   14.3 Installing via RPMs

  Chapter 14: Installing UPS and UPD from Bootstrap

 

  14.1 Before You Install

  14.1.1 Predefined Configuration vs. Manual Install

  Users can choose where to put UPD, and who should own it. The owner might be the user personally, a group account, or a 'products' account. Users can choose a pre-defined configuration and use it as is or edit it, or can define their own configuration.

  14.1.2 Installation Media

  You can get the software as a UNIX tarball, or you can download the software from the KITS area at ftp://fnkits.fnal.gov/products/ups/ (see also the upd area). UPS/UPD is included in the Scientific Linux Fermi (SLF)package, available as Text or GUI installation over the network.

  14.1.3 Check with your Experiment

  Some experiments (e.g., CDF) have integrated UPS into their offline environments and provide the code independently. Check with your experiment before installing.

  14.2 Downloading the Bootstrap and Configuration Files

  The basic procedure is to get a tarball, unpack it, and source the setup file.

Start by going to: ftp://ftp.fnal.gov/products/bootstrap/v3_0 and download the appropriate compressed tar image(s) for your system.

There are two layouts of tarfile available, the "traditional" layout with separate database (db), product (prd), and setup (etc) subdirectories, or the "unified"layout with all three of these directories overlaid at the top level.

To unpack the tarball:

  • Make an empty directory wherever you would like:
% mkdir foo
  • unpack the tar file (or multiple tarfiles with the same layout) in that directory:
% cd foo; tar xzvf ../ups_bootstrap_unified_v5_0_4_Linux+2.tar.gz
  • Source the setups.sh or etc/setups.sh script in bash.
source setups.sh

You now have a new products area where you can install other packages with upd . Or with the unified layout, you can overlay other unified layout tarfiles, to install packages.

  14.3 Installing via RPMs

  RPM is the package installation format used by Red Hat Linux and its derivatives, including Scientific Linux. The Scientific Linux Fermi (SLF) install image includes UPS/UPD, but still requires the "yum install" shown below.

% yum install upsupdbootstrap-fnal     # installs to /fnal
% yum install upsupdbootstrap-local    # installs to /local

For SLF 5, you must first do:

% yum install upsupdbootstrap
If users are installing to a Mac or a non-RPM-based Linux system, or if they want to install somewhere other than /fnal or /local, use the tar method described earlier.
TOC PREV NEXT

Last revised May 2014

TOC PREV NEXT
Fermilab CD logo Complete Guide and Reference Manual for UPS and UPD

Chapter Contents

Chapter 14: Installing UPS and UPD from Bootstrap
   14.1 Before You Install
     14.1.1 Predefined Configuration vs. Manual Install
     14.1.2 Installation Media
     14.1.3 Check with your Experiment
   14.2 Downloading the Bootstrap and Configuration Files
   14.3 Installing via RPMs

  Chapter 14: Installing UPS and UPD from Bootstrap

 

  14.1 Before You Install

  14.1.1 Predefined Configuration vs. Manual Install

  Users can choose where to put UPD, and who should own it. The owner might be the user personally, a group account, or a 'products' account. Users can choose a pre-defined configuration and use it as is or edit it, or can define their own configuration.

  14.1.2 Installation Media

  You can get the software as a UNIX tarball, or you can download the software from the KITS area at ftp://fnkits.fnal.gov/products/ups/ (see also the upd area). UPS/UPD is included in the Scientific Linux Fermi (SLF)package, available as Text or GUI installation over the network.

  14.1.3 Check with your Experiment

  Some experiments (e.g., CDF) have integrated UPS into their offline environments and provide the code independently. Check with your experiment before installing.

  14.2 Downloading the Bootstrap and Configuration Files

  The basic procedure is to get a tarball, unpack it, and source the setup file.

Start by going to: ftp://ftp.fnal.gov/products/bootstrap/v3_0 and download the appropriate compressed tar image(s) for your system.

There are two layouts of tarfile available, the "traditional" layout with separate database (db), product (prd), and setup (etc) subdirectories, or the "unified"layout with all three of these directories overlaid at the top level.

To unpack the tarball:

  • Make an empty directory wherever you would like:
% mkdir foo
  • unpack the tar file (or multiple tarfiles with the same layout) in that directory:
% cd foo; tar xzvf ../ups_bootstrap_unified_v5_0_4_Linux+2.tar.gz
  • Source the setups.sh or etc/setups.sh script in bash.
source setups.sh

You now have a new products area where you can install other packages with upd . Or with the unified layout, you can overlay other unified layout tarfiles, to install packages.

  14.3 Installing via RPMs

  RPM is the package installation format used by Red Hat Linux and its derivatives, including Scientific Linux. The Scientific Linux Fermi (SLF) install image includes UPS/UPD, but still requires the "yum install" shown below.

% yum install upsupdbootstrap-fnal     # installs to /fnal
% yum install upsupdbootstrap-local    # installs to /local

For SLF 5, you must first do:

% yum install upsupdbootstrap
If users are installing to a Mac or a non-RPM-based Linux system, or if they want to install somewhere other than /fnal or /local, use the tar method described earlier.
TOC PREV NEXT

Last revised May 2014