Debian
Supported versions: Debian 9 or higher, x64 archs only.
1. Add the Plastic SCM Repository
The Stable repository contains our mature, long-term support releases. Copy these commands and paste them into your terminal to add the Plastic SCM Stable repository to your computer:
sudo apt-get update sudo apt-get install -y apt-transport-https echo "deb https://www.plasticscm.com/plasticrepo/stable/debian/ ./" | sudo tee /etc/apt/sources.list.d/plasticscm-stable.list wget https://www.plasticscm.com/plasticrepo/stable/debian/Release.key -O - | sudo apt-key add - sudo apt-get update
2. Install Plastic SCM
Choose the Plastic SCM installation that best fits your needs:
2.1. Installing Plastic SCM Cloud Edition
If you'd like to install Plastic SCM Cloud Edition, please add the Plastic SCM repository normally and then run this command:
sudo apt-get install plasticscm-cloud
When the install process is finished, run "plasticgui" command. The first time the application is launched, a configuration form will be shown to enter your Plastic SCM Cloud Edition Subscription credentials in order to push/pull code from your organization.
2.2. Installing Plastic SCM default installation (complete, server, or client)
sudo apt-get install plasticscm-complete
If you want to customize your Plastic SCM installation, we encourage you to go through our
package list to find out which configuration suits you best. The
plasticscm-complete
package will get you a default Plastic SCM installation, but you can also choose from these:
-
plasticscm-complete
: the whole Plastic SCM experience!-
plasticscm-client-complete
: would you like all our client tools? Choose this package, then!-
plasticscm-client-core
: only command line client utilities. -
plasticscm-client-gui
: our awesome GUI applications (plasticgui, gluon and mergetool). You've got to try them!
-
-
plasticscm-server-core
: the rock-solid Plastic SCM server, built on .NET Core and managed with systemd.
-
2.3. Installing Plastic SCM DVCS Packages
If you'd like to install Plastic SCM DVCS packages, please add the Plastic SCM repository normally and then run this command:
sudo apt-get install plasticscm-dvcs
When the install process is finished, run "plasticgui" command. The first time the application is launched, a configuration form will be shown. Enter your on-premises Plastic server location (host:port) or leave default "local" string to start using Plastic with your local, personal Plastic server.
2.4. Installing Plastic SCM Proxy
If you'd like to install Plastic SCM Proxy Server, please add the Plastic SCM repository normally and then run this command:
sudo apt-get install plasticscm-proxy-server
The proxy server will be up and running after install, listening on port 8085.
A service named plasticscm-proxy-server
will be created on the system.
2.5. Installing a particular version of Plastic SCM
If you want to install a Plastic SCM version different than the latest one, you need to specify the version for every package.
In the following command, replace the Plastic SCM version number in orange with the one you want to install:
sudo apt-get install plasticscm-complete=11.0.16.7608 plasticscm-server-complete=11.0.16.7608 plasticscm-client-complete=11.0.16.7608 plasticscm-client-core=11.0.16.7608 plasticscm-client-gui=11.0.16.7608 plasticscm-theme=11.0.16.7608 plasticscm-server-core=11.0.16.7608
Note that we only keep a few versions in our repository. So installing an older specific version using this method may not be possible.
If you already have a Plastic installation in your server machine, you can also downgrade the server version via the zip installer. Go to the More installers section on the downloads page.
If you replace the server binaries with the version included in the zip, you will be able to downgrade the version.
3. Install the Eclipse plugin
Once the Plastic SCM client is installed, the steps to setup the Eclipse plugin are the following:
-
Locate the root path of the Eclipse IDE (
$ECLIPSE_ROOT
from now on) - Run these commands:
rm -f $ECLIPSE_ROOT/plugins/com.codicesoftware.*.jar cp /opt/plasticscm5/client/eclipse_plugin/com.codicesoftware.*.jar $ECLIPSE_ROOT/plugins $ECLIPSE_ROOT/eclipse -clean