How to Install CMSSW on Ubuntu

No support provided. Use at your own risk!

System

  • Laptop: Dell Latitude E6500
  • OS: Kubuntu 8.04 (64 bit)
  • Shell: BASH
  • Memory: 4 Gb
  • CPU: Intel Core2 Duo T9400 @ 2.53GHz

One time initialization of the software area (LCG style)

  • Choose and create installation directory, for example
    mkdir -p $HOME/local/cmssoft/cms
  • Set environment variables:
    export VO_CMS_SW_DIR=$HOME/local/cmssoft/cms
    export SCRAM_ARCH=slc4_ia32_gcc345
    export LANG="C"
  • Download the bootstartp.sh script which is used to setup and initialize a CMS software area:
    wget -O $VO_CMS_SW_DIR/bootstrap.sh http://cmsrep.cern.ch/cmssw/cms/bootstrap.sh
  • This set depends on a directory /tmp/$USER being already present. If not
    mkdir /tmp/$USER
  • Initialize software area:
    bash -x $VO_CMS_SW_DIR/bootstrap.sh setup -path $VO_CMS_SW_DIR -arch $SCRAM_ARCH -unsupported_distribution_hack -v >& $VO_CMS_SW_DIR/bootstrap_$SCRAM_ARCH.log
    source $VO_CMS_SW_DIR/$SCRAM_ARCH/external/apt/*/etc/profile.d/init.sh
    apt-get update

Links

-- YuriyPakhotin - 24 Nov 2008


This topic: Main > TWikiUsers > YuriyPakhotin > CMSSWUbuntuInstallation
Topic revision: r4 - 2010-01-08 - AndreHolzner
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback