I am trying to write a deployment script via USB for computer science linux labs in academia. To deploy we are having an admin user run the script locally on each machine, each user that needs to access is grouped by OneIdentity. One of the requested software is Eclipse for Java Development IDE. The professors wants C++ plug ins as well and the IT administration wants it to be automated. I tried the p2 director application but it didn't seem to work, unless I did it wrong. Here's what I had that I don't think worked.
sudo apt-get install snap
snap install --classic eclipse
/snap/eclipse/current/eclipse
-application org.eclipse.equinox.p2.director
-repository https://download.eclipse.org/releases/helios/
-installIU org.eclipse.cdt.feature.group
-tag AddCDT
-destination /snap/eclipse/eclipse/plugins
-profile SDKProfile
The installation for classic eclipse works fine but the p2 director, while not throwing any errors, does not seem to be working. Any help would be great!