Package Details: geogebra-5 5.0.718.0-1

Git Clone URL: (read-only, click to copy)
Package Base: geogebra-5
Description: Dynamic mathematics software with interactive graphics, algebra and spreadsheet
Upstream URL:
Licenses: GPL3, CCPL:by-sa, CCPL:by-nc
Conflicts: geogebra
Provides: geogebra
Submitter: z3ntu
Maintainer: xiretza
Last Packager: xiretza
Votes: 21
Popularity: 0.67
First Submitted: 2018-02-12 13:00 (UTC)
Last Updated: 2022-06-28 15:15 (UTC)

Dependencies (3)

Required by (0)

Sources (5)

Latest Comments

xiretza commented on 2022-04-15 16:20 (UTC)


ccorn commented on 2022-04-13 21:56 (UTC) (edited on 2022-04-13 21:56 (UTC) by ccorn)

Now that JRE 18 is out, properly greping for 8 needs the -w option:

--- a/geogebra
+++ b/geogebra
@@ -25,14 +25,14 @@ if test ! -z "${JAVA_HOME}"; then

 # check current environment
-if archlinux-java status | grep "default" | grep -q "${GG_JAVA_VERSION}"; then
+if archlinux-java status | grep "default" | grep -qw "${GG_JAVA_VERSION}"; then
     # required java version is set to default, do nothing
     echo "Using system enabled java environment" >&2
     run_gg "$@"

 # find valid environment
-GG_JAVA_ENV="$(archlinux-java status | grep "${GG_JAVA_VERSION}" | awk '{ print $1 }')"
+GG_JAVA_ENV="$(archlinux-java status | grep -w "${GG_JAVA_VERSION}" | awk '{ print $1 }')"
 # for some env it returns like java-8-openjdk/jre
 export PATH="/usr/lib/jvm/${GG_JAVA_ENV}/jre/bin/:${PATH}"

Besides, in my checkout of the PKGBUILD, I version the depends on java-runtime=8 because running with anything else works superficially but with flaws that grow worse over time. Today I ran it with the JRE 18 because of the unrefined grep, and I got subtle redraw errors.

andean_engineer commented on 2021-11-14 17:15 (UTC)

Please, is it feasible to install GeoGebra 6 of the Arch Community repo simultaneously with this AUR 5 version?

Definitively, I prefer GeoGebra 5. However, some graphics tasks require the use of the 6 version. Now, I use the official Linux portable version. Nevertheless, I would prefer to install the package to get auto-updating.

HoolaBoola commented on 2021-09-01 12:05 (UTC)

@xiretza I found a solution. It was due to Wayland, Java GUIs seem to not like it very much.

The solution was to run the app with


Found the solution in this archwiki article

xiretza commented on 2021-09-01 11:36 (UTC)

Hmm, can't reproduce - works fine for me, and my log is exactly the same.

HoolaBoola commented on 2021-09-01 11:09 (UTC) (edited on 2021-09-01 12:01 (UTC) by HoolaBoola)

EDIT: solution above

Launching the app after installing it only opens to a blank window

The log file doesn't seem to help much

Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.common.m.A.G[-1]: Number of registered views = 1
 * class org.geogebra.desktop.geogebra3D.b.b
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.desktop.j.q.a[-1]: <?xml version="1.0" encoding="utf-8"?><geogebra format="5.0" xsi:noNamespaceSchemaLocation="" xmlns="" xmlns:xsi="" ><gui><window width="800" height="600" /><settings ignoreDocument="false" showTitleBar="true" /><labelingStyle val="0"/><font  size="16"/><menuFont size="-1"/><tooltipSettings language="" timeout="0"/></gui><euclidianView><size width="640" height="480"/><coordSystem xZero="215.0" yZero="315.0" scale="50.0" yscale="50.0"/><evSettings axes="true" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/><bgColor r="255" g="255" b="255"/><axesColor r="0" g="0" b="0"/><gridColor r="192" g="192" b="192"/><lineStyle axes="1" grid="0"/><axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" axisCross="0.0" positiveAxis="false"/><axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" axisCross="0.0" positiveAxis="false"/></euclidianView><euclidianView3D>
    <coordSystem xZero="0.0" yZero="0.0" zZero="-1.5" scale="50.0" xAngle="20.0" zAngle="-60.0"/>
    <evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" gridType="3"/>
    <axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
    <axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
    <axis id="2" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
    <plate show="true"/>
    <bgColor r="255" g="255" b="255"/>
    <clipping use="false" show="false" size="1"/>
    <projection type="0"/>
</euclidianView3D><kernel><continuous val="false"/><decimals val="2"/><angleUnit val="degree"/><algebraStyle val="3"/><coordStyle val="0"/><localization digits="false" labels="true"/><angleFromInvTrig val="false"/><casSettings timeout="5" expRoots="true"/></kernel><algebraView><mode val="3"/></algebraView><scripting blocked="false"/></geogebra>
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.desktop.j.a.aU[-1]: Waiting for the initialization: 0
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.desktop.j.a$[-1]: Thread[compute,5,main] running
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.common.b.c.a.a[-1]: SingularWS connection disabled by command line option
Sep 01, 2021 2:03:14 PM  
STDOUT: INFO: org.geogebra.common.n.b.s[-1]: No SingularWS is available at (yet)
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.common.i.h.a[-1]: CAS support: true
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.desktop.j.p.b[-1]: problem with getting GGT...
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.common.m.A.G[-1]: Number of registered views = 2
 * class org.geogebra.desktop.geogebra3D.b.b
 * class org.geogebra.desktop.gui.m.a.l
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.common.m.A.G[-1]: Number of registered views = 3
 * class org.geogebra.desktop.geogebra3D.b.b
 * class org.geogebra.desktop.gui.m.a.l
 * class org.geogebra.common.plugin.b
Sep 01, 2021 2:03:14 PM  
STDOUT: WARN: org.geogebra.desktop.j.a.n[-1]: Option versionCheckAllow not recognized : 
Sep 01, 2021 2:03:14 PM  
STDOUT: INFO: org.geogebra.desktop.j.q.a[-1]: No system preferences
Sep 01, 2021 2:03:14 PM  
STDERR: ERROR: org.geogebra.desktop.gui.i.R.a[-1]: JavaFX 2.2 not available
Sep 01, 2021 2:03:15 PM  
STDERR: ERROR: org.geogebra.desktop.gui.i.R.a[-1]: JavaFX 2.2 not available
Sep 01, 2021 2:03:15 PM  
STDOUT: DEBUG: org.geogebra.desktop.gui.i.R.b[-1]: update menu
Sep 01, 2021 2:03:15 PM  
STDOUT: DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: Checking version
Sep 01, 2021 2:03:15 PM  
STDOUT: DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: Version check is not allowed

medmedin commented on 2021-04-17 20:13 (UTC)

@xiretza why the package doesn't extract the embedded jre8 and uses it by default ?

code_xpert commented on 2021-03-31 09:38 (UTC)

Can't seem to log in with Google. The buttons on the page to enter your email won't do anything.

andean_engineer commented on 2021-01-28 00:21 (UTC) (edited on 2021-03-28 14:16 (UTC) by andean_engineer)

EDIT: Now, I can get the base 64 with the AUR version with CTRL + SHIFT + B. Sometimes, it doesn't work. Then, I select any object in the Graphics Area and hit again CTRL + SHIFT + B: the base 64 code comes to the clipboard.

Please, how could I get the base 64 of an applet? Frequently, the shortcut CTRL + SHIFT + B makes this task. However, with my windows manager (i3-gaps), it doesn't work. The portable version of the official site of GeoGebra seems to work fine.

I've tried some online conversion tools. However, my Internet connection is no good.

Arch Linux (Linux kernel: 5.4.92-1-lts) + i3-gaps (4.19-1).

ccorn commented on 2020-10-21 10:18 (UTC)

I am not fluent with Java tools, but the gluegen build instructions seem to require specification of the target JRE version for their ant build command. Presumably, Geogebra's gluegen build has been made for JRE 8.

ccorn commented on 2020-10-21 08:09 (UTC)

It is true that jre8 needs to be installed (it need not be the default, the geogebra wrapper script takes care of selecting the right version) for some Geogebra functions to work. I never use those functions however.

Example: Start with a later JRE than 8 and try to switch to 3D mode. Console output:

$ archlinux-java status
Available Java environments:
  java-11-openjdk (default)
$ /usr/share/geogebra/geogebra
GeoGebra 5.0.609.0 06 October 2020 Java 11.0.8-64bit

9:50:49.858 DEBUG: org.geogebra.desktop.j.a.<init>[-1]: isApplet=false runningFromJar=true
9:50:49.858 DEBUG: org.geogebra.desktop.j.a.aD[-1]: Setting up logging
9:50:49.877 DEBUG: org.geogebra.desktop.j.a.aD[-1]: Logging is redirected to /tmp/GeoGebraLog_lbpcnlakjp.txt
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/usr/share/geogebra/gluegen-rt.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of com.jogamp.common.os.NativeLibrary$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Inconsistency detected by dl-lookup.c: 105: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!

There is clearly a bug somewhere. For the time being, I would recommend to just add java-runtime=8 to depends. In particular, I would not like to have a binary blob installed that has no benefits over any of Arch Linux's jre8-* packages.

medmedin commented on 2020-10-13 15:29 (UTC)

@xiretza with java 14 or 15, when you finish your drawing then right click on mouse to select the zone to be exported, the selection doesn't work with those jres, but with jre 8 it works perfectly.

xiretza commented on 2020-10-13 13:06 (UTC)

@medmedin: can you show some examples of those broken functions? I have not had any problems related to the of java version.

medmedin commented on 2020-10-13 09:42 (UTC)

@xiretza geogebra 5 needs jre 8 because with recent jre versions like 14 and 15 some functions are not working at all.

medmedin commented on 2020-10-13 09:38 (UTC)

The portable install zip this script downloads contains both the app and jre suitable for running it which is version 8, but the install script only installs the app without its jre which will causes problems for the app if started with recent jre versions. The install script should install both the app and its needed jre.

medmedin commented on 2020-08-13 11:14 (UTC)

The downloaded zipped package contains also the JRE that the software should be run with, but with this PKGBUILD it installs only Geogebra files and ignore the embedded JRE. The software should be run with the embedded JRE to avoid compatibility problems. After installing this package, I don't find Geogebra JRE inside /usr/lib/jvm/.

andean_engineer commented on 2020-08-07 14:57 (UTC) (edited on 2020-12-07 08:55 (UTC) by andean_engineer)

Edit (2020-12-06): Hi. I have installed today the last version 5.0-619, after several weeks without trying (I had been using the portable version). The new version is working really fine.

Hi. I am facing the following issue:

  • The right button doesn't work with the objects in the Algebra View (it makes nothing). It happens with every object.

I have tried other possible shortcuts, with no much success:

  • Application key (≣ Menu) in the Algebra View: with some objects it works, with other objects it doesn't work. However, I have seen this behavior in the portable version too. I don't have checked the same applet in other distros.

  • Right button in the Graphics View: it seems to work fine always. However, for a good navigating, it's needed this feature for the Algebra View too.

  • Edit menu, option Object Properties: it seems to work fine always.

Please, do you have any workaround to fix this issue?

I have only a few weeks as an ArchLinux user...

The portable version of GeoGebra 5 works fine on my computer (

ArchLinux; linux kernel: 5.7.12; GeoGebra 5.0.593.0-d; windows manager: i3-gaps 4.18.2-1

xiretza commented on 2020-05-23 13:20 (UTC)

Of course! I don't use a graphical file manager, so I never even noticed. Thanks for the patch.

etaboon commented on 2020-05-23 13:12 (UTC)

Would it be possible for a next update to insert this line in geogebra-mime.xml:

<generic-icon name="geogebra"/>

in order to have geogebra's files show in file managers with the app icon instead of the default anonymous one ?

$ diff geogebra-mime.xml geogebra-mime-plus.xml
>                <generic-icon name="geogebra"/>
>                <generic-icon name="geogebra"/>

xiretza commented on 2020-01-12 17:17 (UTC)

@ccorn: thanks, applied.

ccorn commented on 2020-01-12 03:08 (UTC)

The runscript does not pass arguments, so you cannot open *.ggb files in a desktop environment. Fix:

diff --git a/PKGBUILD b/PKGBUILD
index a18e2c8..2cda743 100644
@@ -24,7 +24,7 @@ source=("${

-            'f5d6f3fe17638f4521b0a00d6d077a5c509984bd8f7cb39c28e412b7384ec129c6595400e7ae4cb5ba05f1673eb46d8f6c56db1b4145afb35797a1d0a170965d'
+            '65f49cc85ee450e52c7ba8d2f9222a64a81571630afee032c4b680dea35e3c48e5e96d60148bd25163b3e3bdf1b99e55fb8ec010a7f3a47a64ad3b957a232f7b'

diff --git a/geogebra b/geogebra
index eb41e11..82f36b9 100644
--- a/geogebra
+++ b/geogebra
@@ -16,7 +16,7 @@ if test ! -z "${JAVA_HOME}"; then
     if test "${JAVA_HOME#*$GG_JAVA_VERSION}" != "${JAVA_HOME}"; then
         # system environment variable set to required, do nothing
         echo "Using java environment from JAVA_HOME: ${JAVA_HOME}" >&2
-        run_gg
+        run_gg "$@"
         # unset JAVA_HOME
         echo "Unset JAVA_HOME for this run: ${JAVA_HOME}" >&2
@@ -28,7 +28,7 @@ fi
 if archlinux-java status | grep "default" | grep -q "${GG_JAVA_VERSION}"; then
     # required java version is set to default, do nothing
     echo "Using system enabled java environment" >&2
-    run_gg
+    run_gg "$@"

 # find valid environment
@@ -37,4 +37,4 @@ GG_JAVA_ENV="$(archlinux-java status | grep "${GG_JAVA_VERSION}" | awk '{ print
 export PATH="/usr/lib/jvm/${GG_JAVA_ENV}/jre/bin/:${PATH}"
 echo "Run with exported ${GG_JAVA_ENV}" >&2
+run_gg "$@"

xiretza commented on 2019-12-09 16:23 (UTC)

@mar04: you're right, changed that.

mar04 commented on 2019-12-09 14:35 (UTC)

Any reason why Java 8 is required? Seems to work fine for me with Java 13.

niklashh commented on 2019-03-05 20:44 (UTC)

The package fails to download the source, i.e it's out of date.

xiretza commented on 2018-11-11 11:26 (UTC)

@Morguldir: feel free to create an -svn package. Then I'll rename this one to -bin as well, but right now that isn't worth the hassle I think.

morguldir commented on 2018-11-10 00:34 (UTC)

Why is this not made from source?

Available at and

xiretza commented on 2018-11-02 21:14 (UTC)

@updater1234: if you want to use 6.x, just install geogebra from community. This package is called geogebra-5 for a reason: quite a few people think that the new 6.x HTML5/electron/JS app is utter crap and would rather use the "classic" 5.x program.

updater1234 commented on 2018-11-02 14:38 (UTC)

geogebra-6 has been released. please update it.

fyr77 commented on 2018-09-12 07:37 (UTC) (edited on 2018-09-12 09:40 (UTC) by fyr77)

Or even better: change the line "pkgver=5.0.486.0" in PKGBUILD to

pkgver=$(wget -q -O -)

This will always get the newest version, if this is possible.

fyr77 commented on 2018-09-12 07:22 (UTC)

Please update the package source to

hmpl commented on 2018-07-18 16:15 (UTC)

The link from which geogebra is downloaded has expired. I get the following error: ERROR: Failure while downloading

A fix would be wonderful! Thanks.

fyr77 commented on 2018-05-05 16:23 (UTC)

One of the maintainers could set up a watcher for with something like wachete, so they're notified if there is a new version. Just an idea.

morguldir commented on 2018-05-04 20:52 (UTC)

The download for the current version is dead already, could you update to:



fyr77 commented on 2018-04-26 08:08 (UTC)

There is a newer version of the Linux portable archive available. Would it be possible to change the source to ?

arcanis commented on 2018-03-19 13:43 (UTC)

I wasn't able to find reference to gendesk, but iirc at some point we tried to remove all *.desktop files from official repositories and use gendesk instead.

z3ntu commented on 2018-02-26 11:12 (UTC)

Yeah it's gendesk. I think it's a bad idea doing that in the build process compared to just generating it once and putting it in the sources, but I didn't really modify the PKGBUILD from what I pulled from the repos.

xiretza commented on 2018-02-26 11:03 (UTC) (edited on 2018-02-26 11:13 (UTC) by xiretza)

Sure, I'd co-maintain.

By the way, where does geogebra.desktop come from? Somehow I managed to build the package, including the .desktop, a few days ago, but I don't actually know how since the only reference to the .desktop is in install(), with nothing in source=. Now it doesn't build anymore, as expected.

Edit: nvm, there's a gendesk. Doesn't seem to work correctly though, I'll have a look.

Edit 2: pacaur is broken and installs makedepends after prepare(). That's what you get for using unmaintained software.

z3ntu commented on 2018-02-23 16:44 (UTC)

If anyone wants to be co-maintainer (as there are multiple updates per week), just write a comment :)