During the installation of prerequisites some extra packages will be installed, too.
Optional for testing serial connection to the instrument. With graphical user interface use cutecom.
sudo apt-get install cutecom
or with command line use setserial and minicom.
sudo apt-get install setserial
sudo apt-get install minicom
sudo apt-get install python3 python3-pip python3-dev
sudo pip3 install setuptools
sudo pip3 install pyserial
Note
You can remove sudo before pip3 if you want install packages for the actual user only. Using sudo all user can access them.
On Linux the serial ports are protected. The root user and those are in the dialout group are able to read/write serial ports. To add yourself to the dialout group use the following command
sudo usermod -a -G dialout $USER
sudo apt-get install bluetooth libbluetooth-dev
sudo pip3 install pybluez
sudo pip3 install pyyaml
sudo pip3 install numpy
sudo apt install python3-matplotlib
Optional used only by robotplus.py and freestation.py GNU GaMa is built from sources
sudo apt-get install autoconf automake
git clone https://git.savannah.gnu.org/git/gama.git
cd gama
./autogen.sh
./configure
make
sudo make install
Optional used by WebCam class. opencv-contrib-python contains code to identify ArUco codes in images which is used by the applications in camera folder.
sudo apt-get install libopencv-dev
sudo pip3 install opencv-python
sudo pip3 install opencv-contrib-python
Optional used by WifiCollector class.
sudo pip3 install wifi
Optional available only on Raspberry Pi. See http://www.instructables.com/id/Raspberry-Pi-I2C-Python/step2/Enable-I2C/
Optional used by robotplus if SqLiteWriter selected.
sudo apt-get install sqlite3
sudo apt-get install spatialite-bin
Install only the latest version from GitHub:
cd ~
wget https://github.com/zsiki/ulyxes/zipball/master/ -O ulyxes.zip
unzip ulyxes.zip
Or make a local copy of the git repository:
cd ~ git clone https://github.com/zsiki/ulyxes.git
You can move the whole ulyxes install directory to any other place in your file system and you can also rename the ulyxes install directory. You had better not to change directory and file names under the install directory.
Set PYTHONPATH variable in your .profile to start ulyxes applications from any folder
export PYTHONPATH=$HOME/ulyxes/pyapi:$HOME/ulyxes/camera:$HOME/ulyxes/pyapps