3

In accordance with the instructions given by https://wiki.geogebra.org/en/Reference:GeoGebra_Installation, I tried installing geogebra by first using sudo apt-add-repository -u 'deb http://www.geogebra.net/linux/ stable main', and then sudo apt install geogebra-classic, but when I run the last command, I get the error message "Unable to locate package geogebra-classic". Any tips?

NickE
  • 31
  • 3

2 Answers2

5

You have add their GPG key by

wget https://static.geogebra.org/linux/office@geogebra.org.gpg.key -O - | sudo apt-key add

and then rerun update and install package:

sudo apt-get update
sudo apt-get install geogebra-classic
N0rbert
  • 97,162
  • 34
  • 239
  • 423
  • There's an issue with Ubuntu 22.04 LTS: https://www.reddit.com/r/geogebra/comments/ypj1bg/geogebra_5_classic_package_package_repo_key/ – raf Jun 28 '23 at 18:38
1

First, add the GPG key, then the repository, and finally install by these commands:

$ wget https://static.geogebra.org/linux/office@geogebra.org.gpg.key -O - | sudo apt-key add
$ sudo apt-add-repository -u 'deb http://www.geogebra.net/linux/ stable main' 
$ sudo apt install geogebra-classic 

Thus the latest Geogebra will be installed.

raf
  • 313
  • 1
  • 3
  • 10
  • There's an issue with Ubuntu 22.04 LTS: https://www.reddit.com/r/geogebra/comments/ypj1bg/geogebra_5_classic_package_package_repo_key/ – raf Jun 28 '23 at 18:38