You need internet access for the following step(s).
The quickest way for installing the GoPiGo is to enter the following command:
curl -kL dexterindustries.com/update_gopigo | bash
By default, the GoPiGo package is installed system-wide and script_tools and RFR_Tools are updated each time the script is ran.
There's also the classic way of installing the robot where the repository first gets cloned and after that update_gopigo.sh is run the following way:
bash update_gopigo.sh
An example using options appended to the command can look this way:
curl -kL dexterindustries.com/update_gopigo | 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 updatebefore installing dependencies. For this to be useful,--no-dependencieshas to be not used. Applies to RFR_Tools and the GoPiGo.--bypass-rfrtools- skips installing RFR_Tools completely.--no-dependencies- skip installing any dependencies for the GoPiGo. 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 GoPiGo 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 GoPiGo 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 GoPiGo 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 GoPiGo, you can run this command:
curl -kL dexterindustries.com/update_gopigo | bash -s -- --bypass-gui-installationThis will only get you installed the GoPiGo 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 GoPiGo 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 GoPiGo. To do this, you can run this command:
curl -kL dexterindustries.com/update_gopigo | bash -s -- --bypass-rfrtools --no-dependenciesOr if this is too complex, you can always stick to the command meant for the full installation or the minimal one.