Instructions
Download GreenSocs Package Management (GSPM)
YOU can install it. It requires no special privileges. It's a simple
click download, unpack and run.
STEP 1: Download GSPM
Download the version of gspm which best corresponds to your architecture. If you dont see what you need, please get in touch.
Version 2007.03-1 (March 2007)
| OS | Architecture | Size | File |
| Linux | i386 | 11 MB | gspm_2007.03-1_i386.tar.gz |
| Linux | x86-64 | 11 MB | gspm_2007.03-1_x86-64.tar.gz |
| Mac OS X | i386 | (soon) | |
| Mac OS X | powerpc | (soon) |
Or access directly the SourceForge download area
NOTE: If you installed GSPM before 07/25/2007, the update
feature may not work due a major change in the gcc package. The easiest way to upgrade is to
reinstall all from scratch. We are very sorry for the inconvenience.
STEP 2: Installing GSPM
All the GSPM environment can be run as a normal user, root privileges are not necessary. Just untar the tarball in any directory you want:
tar xzf gspm_2007.03-1*.tar.gz
STEP 3: Using GSPM
You must first be running a "bash" shell. Only the "bash" shell is supported right now. If you would like support for other shell, like "tcsh", please contact GreenSocs.
The entry point to use GSPM is to source the script 'gspm.bashrc' into the current shell session, like this: source gspm/gspm.bashrc (you can do this from anywhere, you can even do it from your .bashrc so it's always loaded)
Your ready to go!
Now you can load the packages you want using the command 'gs-use'. Each time you ask for a new package, gs-use will download it, if it needs to, and download any packages that it depends upon.
NOTE: Some users experience problems with their
Internet setup. gs-use operates over http, so there should not be any
problems, but often you need to set your HTTP_PROXY environment
variable to point to your systems proxies, like:
export http_proxy="http://username:password@host:port/"
Example: a work session
GSPM uses concepts like enter the world and load/use packages. For a typical work session, you must first source gspm.bashrc script to enter the world, then some GreenSocs tools will be available. After that, load the pieces of software that will be used in this session with gs-use (they will be installed when first used). This step is necessary because more then one version of a tool can be installed in the same world, and gs-use also select the version of the tool to be used (or a default one if none specified).
For example, a work session that compiles a program from the greenbus package using the gsc compiler wrapper to easily find the loaded libraries (in this case systemc and boost):
- source gspm.bashrc # enter the world
- gs-use gcc/4.0 systemc/2.2 boost gsc greenbus # load packages
- cd $GREENBUS/examples/simple
- gsc example_simple.cpp -o example.x
- ./example.x
Finding packages
All projects release packages through this web site. So simply browse the projects/ on this web site, find things you are interested in, and type
gs-use PROJECTNAME
The full name of project releases can be found on each project page.
Posted January 8th, 2008 by MarcusBartholomeu
Recent Package Releases
Release List:
| package lable | Stability | Date | Project | Architecture | Quality |
|---|---|---|---|---|---|
| greenscript/0.2.1/bare | Unstable (Not tested yet) | May 7 2008 - 2:04am | GreenScript | all | ![]() |
| greenscript/0.2.1 | Unstable (Not tested yet) | May 7 2008 - 1:52am | GreenScript | all | ![]() |
| greencontrol/0.3 | Testing (being tested) | Apr 25 2008 - 7:18pm | GreenControl | SOURCE | ![]() |
| greencontrol/0.3/bare | Testing (being tested) | Apr 25 2008 - 2:52pm | GreenControl | all | ![]() |
| greenscript/0.2/bare | Unstable (Not tested yet) | Apr 11 2008 - 10:22pm | GreenScript | all | ![]() |
