i could successfully install ubuntu 16.04 LTS but i'm unable to install sagemath in it. it says " unable to locate the package sagemath-upstream-binary" even when the code is correct. may i know why?
Asked
Active
Viewed 2,748 times
1 Answers
7
You probably haven't added the ppa needed for it. Do
sudo apt-add-repository -y ppa:aims/sagemath
To add it and then
sudo apt-get update
to update. Then simply typing
sudo apt-get install sagemath-upstream-binary
like before should do the trick.
ADDB
- 1,570
- 1
- 12
- 20
-
Sagemath is in the Ubuntu universe repository - should not the repository contain all the necessary dependancies? – Charles Green Jul 01 '17 at 16:49
-
@CharlesGreen to quote http://www.sagemath.org/download-linux.html: `There is also a PPA for Ubuntu available. Install SageMath this way: sudo -E apt-add-repository -y ppa:aims/sagemath sudo -E apt-get update sudo -E apt-get install sagemath-upstream-binary` – ADDB Jul 01 '17 at 17:00