PivotPi is a Servo Controller for the Raspberry Pi!
You need internet access for the following step(s).
The quickest way for installing the PivotPi is to enter the following command:
curl -kL dexterindustries.com/update_pivotpi | bash
Or if you want to run the install script directly from the repository you can run:
bash install.sh
By default, the PivotPi package is installed system-wide and script_tools is completely updated each time the script is ran.
An example using options appended to the command can be:
curl -kL dexterindustries.com/update_pivotpi | bash -s -- --user-local --no-update-aptget --no-dependencies
The options that can be appended to this command are:
--no-update-aptget
- to skip usingsudo apt-get update
before installing dependencies. For this to be useful,--no-dependencies
has to be not used. Applies to RFR_Tools and the PivotPi.--bypass-rfrtools
- skips installing RFR_Tools completely.--no-dependencies
- skip installing any dependencies for the PivotPi. It's supposed to be used on each consecutive update after the initial install has gone through.--user-local
- install the python package for the PivotPi in the home directory of the user. This doesn't require any special read/write permissions: the actual command used is (python setup.py install --force --user
).--env-local
- install the python package for the PivotPi within the given environment without elevated privileges: the actual command used is (python setup.py install --force
).--system-wide
- install the python package for the PivotPi within the sytem-wide environment withsudo
: the actual command used is (sudo python setup.py install --force
).
Important to remember is that --user-local
, --env-local
and --system-wide
options are all mutually-exclusive - they cannot be used together.
As a last thing, different versions of it can be pulled by appending a corresponding branch name or tag.
Now, if you only want the absolute minimum in order to get going with the PivotPi, you can run this command:
curl -kL dexterindustries.com/update_pivotpi | bash -s -- --bypass-gui-installation
This will only get you installed the PivotPi dependencies and nothing else. You still can use options such as --user-local
or --env-local
if you are working with a different kind of environment. Keep in mind that --system-wide
is selected by default.
If the PivotPi has been installed either by using the full command or the one for the minimal installation, this means you have all the packages installed already and all dependencies put in. Therefore, on subsequent installation, you can skip installing any dependency and instead just reinstall the python package of the PivotPi. To do this, you can run this command:
curl -kL dexterindustries.com/update_pivotpi | bash -s -- --bypass-rfrtools --no-dependencies
Or if this is too complex, you can always stick to the command meant for the full installation or the minimal one.
Need help? We have a forum here where you can ask questions or make suggestions.
See more at the PivotPi Site