Install Geogebra 6 command line on Linux

Koen Roggemans shared this question 5 months ago
Answered

I think I'm missing the obvious.

I expect the following to work:

wget -q -O - http://www.geogebra.net/lin... | sudo apt-key add -

sudo sh -c 'echo "deb http://www.geogebra.net/linux/ stable main" > /etc/apt/sources.list.d/geogebra.list'

sudo apt update

sudo apt install geogebra-classic

The result is that the packet geogebra-classic can not be found.

I try to install Geogebra 6 on all our students Ubuntu 18.04 laptops by distributing a script. It words like this using geogebra5.

Does anyone see what I'm missing?

Kind regards

Koen

Comments (12)

photo
1

I noticed in the mean time that http://www.geogebra.net/lin... doesn't contain the package, but that it exists in http://www.geogebra.net/lin...

photo
1

I found an unanswered question, also mentioning a problem installing with apt on a debian based system (xubuntu): https://help.geogebra.org/t...

To me it seems like a bug in the publishing of the debian package: it is not included in the packages file, so therefore apt can't find it . Can someone add this please? It would make the roll out of Geogebra so much easier for schools running Linux.

photo
1

I'm having the same issue installing the geogebra-classic package on a number of machines too. Appears as Koen has said; the Packages.gz file does not contain reference to the .deb package for geogebra-classic.

photo
2

Thank you for reporting this problem. We found the issue and we will fix it soon. Until then please use the direct link to the .deb file.

photo
1

The problem has been fixed, thank you for your patience.

photo
1

Still unable to install geogebra-classic via the repo.

When I check the Packages file (from http://www.geogebra.net/lin...) theres still no reference for the amd64 version, although there is for the 32bit version (http://www.geogebra.net/lin...).

The amd64 binaries are here though http://www.geogebra.net/lin... so feels like something still isn't quite right.

photo
1

Strange, it works here with no problem. Can you please copy that part of the Packages file that makes the issue? Here I can see

Package: geogebra-classic

Version: 6.0.559.0-201909172035

Architecture: amd64


There may be a problem with the download server as well, but basically it should work by now.

photo
1

So the Packages and Packages.gz my machine is referencing both do not contain the geogebra-classic entry. Have attached the Packages.gz and the Packages file (renamed with a .txt suffix to allow attachment).


To be fair it could just be a time thing so will try again this afternoon.

photo
1

Seems to be working ok now on most machines. Still a few lagging behind but that may be more due to some kind of cache thing at our end.


Thanks for looking into this.

photo
1

Did you run an apt update prior to trying?

photo
1

The machines are puppetised so should do an apt update at least every day. But I think all machines are installing correctly now.

photo
photo
1

Yes. It works. Thanks a lot!

© 2020 International GeoGebra Institute