Campuses:
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
computing:department:unix:software:ups [2012/07/23 13:48] – allan | computing:department:unix:software:ups [2015/02/11 14:27] (current) – removed allan | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <box 20% right right-clear red|More Information> | ||
- | {{indexmenu>: | ||
- | </ | ||
- | **This page is provided for historical information**. We now simply provide the packaged versions of cernlib, root, etc from the EPEL repository, Most collaborations which require a specific version of these tools maintain their own software distribution, | ||
- | |||
- | ====== Introduction to UPS package manager ====== | ||
- | |||
- | UPS is a package management system originated from Fermilab. We use it as it allows us to provide multiple versions of popular physics tools such as CERNlib. | ||
- | |||
- | The ups command used with list will tell you what products are available. The -a switch includes all instances of those products: | ||
- | |||
- | < | ||
- | [211]user@host> | ||
- | |||
- | DATABASE=/ | ||
- | Product=root | ||
- | Qualifiers="" | ||
- | |||
- | Product=root | ||
- | Qualifiers="" | ||
- | |||
- | Product=root | ||
- | Qualifiers="" | ||
- | |||
- | Product=root | ||
- | Qualifiers="" | ||
- | |||
- | Product=root | ||
- | Qualifiers="" | ||
- | |||
- | Product=root | ||
- | Qualifiers="" | ||
- | |||
- | Product=root | ||
- | Qualifiers="" | ||
- | |||
- | Product=root | ||
- | Qualifiers="" | ||
- | </ | ||
- | |||
- | You can also use the '' | ||
- | |||
- | < | ||
- | [212]user@host> | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | </ | ||
- | |||
- | To use any of the listed products, use the setup command: | ||
- | |||
- | < | ||
- | [213]user@host> | ||
- | [214]user@host> | ||
- | / | ||
- | </ | ||
- | |||
- | or to set up a particular version: | ||
- | |||
- | < | ||
- | [216]user@host> | ||
- | [217]user@host> | ||
- | / | ||
- | </ | ||
- | |||
- | To remove a product from your environment, | ||
- | |||
- | < | ||
- | [218]user@host> | ||
- | [219]user@host> | ||
- | root: Command not found. | ||
- | </ | ||
- | |||
- | To see all of the products in the database use the ups list command: | ||
- | |||
- | < | ||
- | [220]user@host> | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | ... | ||
- | </ | ||
- | |||
- | Any one of these products can set up another product when called to be setup itself. To see the chain of dependencies, | ||
- | |||
- | < | ||
- | [221]user@host> | ||
- | root v4_02_00 -f Linux+2.4 -z / | ||
- | |__cern 2003 -f Linux+2.4 -z / | ||
- | | |__cernsource 2003 -f NULL -z / | ||
- | </ | ||
- | |||
- | So concludes our quick introduction to using ups. Complete details of ups and upd can be found at the Fermilab [[http:// |