You can invoke the p2 Director application using something like this:
eclipsec.exe -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/releases/galileo/ -installIU org.eclipse.cdt.feature.group -destination d:/eclipse/ -profile SDKProfile
There is also a link to the p2 wiki .
source share