-
Notifications
You must be signed in to change notification settings - Fork 4
Native PLCC Installation
Stoney Jackson edited this page Sep 26, 2022
·
7 revisions
Version 2.0.0 or above
See Dependencies for supported versions of Java, Python, and shells.
- You need Command Prompt (on Windows) or a Bash shell to run PLCC's scripts.
- Install Java JDK 11 or higher. We recommend OpenJDK.
- Ensure
java
andjavac
are in your PATH environment variable and are available from your shell. If not add the folder that containsjava
andjavac
to your PATH environment variable. - Ensure
java --version
andjavac --version
report the same version. If not, in the PATH environment variable, move the folder containingjava
andjavac
to the front of your PATH.
- Install Python 3.8 or higher
- Ensure
python
is in your PATH and available in your shell. If not, add the folder containing python to your PATH. - Ensure
python --version
reports the version of Python you installed. If not, you may need to adjust your PATH.- You may need to try
python3
orpy
depending on your operating system.
- You may need to try
- Download a copy of PLCC. You can do this in two different ways.
- Use git to clone https://github.com/ourPLCC/plcc into its new home, and checkout the tag for the version you want to use.
git clone https://github.com/ourPLCC/plcc.git cd plcc git checkout v3.1.0
- Download a zip of the desired version of PLCC from the PLCC Releases page, and extract it into its new home on your computer.
- Identify the PLCC's
src
directory within the directory (or subdirectories) created when you extracted the zip. - Define a new environment variable named LIBPLCC whose value is the full path to PLCC's src directory.
- Add the full path to PLCC's src directory to beginning of the PATH environment variable.
If you used git to download and install PLCC, checkout the tag for the new version you want to use. For example, in the root of the PLCC directory...
git checkout v4.0.0
Read the CHANGELOG to see if there is anything else you need to do to upgrade to the new version.
If you downloaded and extracted a zip when you installed PLCC, download a zip for the new version. Then, either...
- Replace the old version with the new one by deleting the existing folder and then extracting the new zip into the same location
- Or, extract the new version into a different directory and then update environment variable's accordingly (PATH and PLCCLIB).
Read the CHANGELOG to see if there is anything else you need to do to upgrade to the new version.
None