Installing dCache without YUM but using RPM
Yum is a useful tool, but it is not included in RHEL4. If yum is installed you should follow this page. You can also add yum to your distribution if it is based upon rpm. Yum is not a dCache dependency, and so we can work around not using yum. dCache can be set up by hand without using rpm at all, but it is nice to know exactly which version of the server your using with a simple command, so we would recommend rpm over tgz installs on rpm based systems.
[root@swords ~]# rpm -qa | grep -i dcache dcache-server-1.8.0-15p5 glite-yaim-dcache-4.0.2-4 cert-glite-SE_dcache_pool-3.1.5-0 cert-glite-SE_dcache_info-3.1.5-0 dcacheVoms2Gplasma-0.0.6-0 dCacheConfigure-0.0.21-0 dcache-client-1.8.0-0 dcache-dcap-1.8.0-4 dcache-srmclient-1.8.0-15p5
Since yum is an update and installation tool, you may not want to install it for fear of loosing control of your system. This is a reasonable perspective for some users who may use other tools.
Target (meta) packages.
For yum users dCache provides a series of meta packages. These rpms contain no files, they only provide requirements for dependencies. For yum this allows a single command to install many rpms automatically.
| Package | Dependencies | Repository |
| desy-SE_dcache_pool | dcache pool nodes | dcache.org |
| desy-SE_dcache_admin_postgres | dcache admin nodes running PNFS postgresql and postgresql | dcache.org |
| desy-SE_dcache_admin_gdbm | dcache admin nodes running PNFS gdbm and postgresql | dcache.org |
| desy-SE_dcache_info | dcache node and BDII information system | dcache.org and gLite31 |
Browsing the repositories
The dCache repository, has a base directory, subdirectories are based upon architecture, and labels such as stable, testing and unstable. If you are working with production servers we recommend you only use the stable repository.
http://cvs.dcache.org/repository/yum/sl4.4.0/
Then browse repository subdirectories finding latest version of the target RPM. for this example I picked the target for a desy dcache pool.
desy-SE_dcache_pool
in this case I chose
http://cvs.dcache.org/repository/yum/sl4.4.0/i386/RPMS.stable/desy-SE_dcache_pool-0.0.3-0.noarch.rpm
as I wanted a stable version for the i386 architecture.
Installing and Resolving dependencies.
then try and install it
[root@krems ~]# rpm -i http://cvs.dcache.org/repository/yum/sl4.4.0/i386/RPMS.stable/desy-SE_dcache_pool-0.0.3-0.noarch.rpm
error: Failed dependencies:
dcache-client >= 1.8.0 is needed by desy-SE_dcache_pool-0.0.3-0.noarch
dcache-server >= 1.8.0 is needed by desy-SE_dcache_pool-0.0.3-0.noarch
dcacheVoms2Gplasma >= 0.0.3 is needed by desy-SE_dcache_pool-0.0.3-0.noarch
dCachePostInstallConfigurationScripts is needed by desy-SE_dcache_pool-0.0.3-0.noarch
j2sdk is needed by desy-SE_dcache_pool-0.0.3-0.noarch
So now try recursively to resolve the dependencies.
[root@krems ~]# rpm -i http://cvs.dcache.org/repository/yum/sl4.4.0/i386/RPMS.stable/dcache-server-1.8.0-15p5.noarch.rpm
[root@krems ~]# rpm -i http://cvs.dcache.org/repository/yum/sl4.4.0/i386/RPMS.stable/dcache-client-1.8.0-0.noarch.rpm
error: Failed dependencies:
dcache-srmclient is needed by dcache-client-1.8.0-0.noarch
dcache-dcap is needed by dcache-client-1.8.0-0.noarch
Some packages like "dcache-client" will have further dependencies.
