There is a webpage describes a method for installing rpms as a non-root user using apt.
This page describes a simple method for installing the CMS software rpms as a non-root user using apt. A script developed by CMS,
bootstrap.sh, provides the configuration necessary to use apt as a non-root user for software installation.
Also look at the commands and the scripts mentioned in the commands:
Recipe for the impatient (SH / BASH / ZSH):
export VO_CMS_SW_DIR=/x/y/z # E.g.: # export VO_CMS_SW_DIR=$PWD/w export LANG="C" mkdir -p $VO_CMS_SW_DIR wget -O $VO_CMS_SW_DIR/bootstrap.sh http://cmsrep.cern.ch/cmssw/cms/bootstrap.sh # export BUILD_ARCH=slc5_amd64 # (only for online) export SCRAM_ARCH=slc6_amd64_gcc491 sh -x $VO_CMS_SW_DIR/bootstrap.sh setup -path $VO_CMS_SW_DIR -arch $SCRAM_ARCH >& $VO_CMS_SW_DIR/bootstrap_$SCRAM_ARCH.log
To install a new release:
export VO_CMS_SW_DIR=/x/y/z # E.g.: # export VO_CMS_SW_DIR=$PWD/w export LANG="C" # export BUILD_ARCH=slc5_amd64 (only for online) export SCRAM_ARCH=slc6_amd64_gcc491 source $VO_CMS_SW_DIR/$SCRAM_ARCH/external/apt/*/etc/profile.d/init.sh apt-get update apt-get install cms+cmssw+CMSSW_7_4_4 NOTE : To use cmsShow with MAC OS in an FWLite build, you need to also add the FWLite data packages. apt-get -y install cms+fwlite+CMSSW_7_4_4_FWLITE apt-get -y install cms+fwlitedata-toolfile+1.0 cms+fwlitedata+25
Their purpose is to ensure that proper dependencies will be satisfied. They use host's linux at bare minimum and build all their software by themselves. Since hosts' linux may be outdated, they do not depend on specific Linux distribution. All packages, e.g. gcc and python, are compiled by their software management tools.
I have never seen this before, so I wonder generally how one implements installing rpms as a non-root user using apt? (Not necessarily the method in the webpage, if you don't know it).
Do the methods work by creating some sort of virtual machines or some other kinds of virtualization?