-
Notifications
You must be signed in to change notification settings - Fork 9
Developing on Linux (Desktop)
David Lechner edited this page Sep 1, 2017
·
3 revisions
You can develop GRX applications on Linux Desktop. Packages for Ubuntu/Debian are provided by ev3dev.org.
Only the current Ubuntu (zesty) and Ubuntu LTS (xenial) versions are supported.
sudo apt-add-repository ppa:ev3dev/tools
sudo apt update
sudo apt install libgrx-3.0-dev libgrx-3.0-examples
Only the current Debian stable (stretch) is supported.
# run as root
wget https://github.com/ev3dev/grx/raw/ev3dev-stretch/.travis/ev3dev-archive-keyring.gpg
mv ev3dev-archive-keyring.gpg /etc/apt/trusted.gpg.d/
echo "deb http://archive.ev3dev.org/debian stretch main" > /etc/apt/sources.list.d/ev3dev.list
apt update
apt install libgrx-3.0-dev libgrx-3.0-examples
IMPORTANT: The GRX3 library package enables bitmap fonts on your system. If you notice that fonts look bad in other programs, this is why. See https://github.com/ev3dev/grx/wiki/Running-Programs#bitmap-fonts.
These are not installed in $PATH
, so you have to use the absolute path.
Example binary files are found in /usr/lib/x86_64-linux-gnu/grx-3.0/examples/
. For example:
/usr/lib/x86_64-linux-gnu/grx-3.0/examples/vala/life
Example scripts (text files) are found in /usr/share/doc/grx/examples/
. For example:
/usr/share/doc/grx-3.0/examples/python/life.py