not able to execute ./sage
I've downloaded the precompiled binary for sagemath 9.1(sage-9.1-Ubuntu_18.04-x86_64.tar.bz2), I'm on ubuntu 20.04. After extracting the file when I run ./sage in the terminal it says bash: ./sage: Permission denied. I made the file executable by changing the permission but then it says ./sage: no Sage installation found in $SAGE_ROOT = /home/my_pc/Downloads/SageMath. Can anyone help me with this?
Edit: After some tweaks, I found that in the file named relocate-once.py there was a problem in the declaration for the python env after I changed it to pyhton3 it started Rewriting paths for your new installation directory then it gave an error /home/my_pc/Downloads/SageMath/local/bin/python3: line 1: ./python3.7: No such file or directory. I checked it the file exist but for some reason it doesn't execute it. That's where I'm stuck now.
What is
./python3.7above? (So line 1 from which file?)Note: A longer time i also had problems with ubuntu+sage, there was no chance to use tbz's, it was even better to use older version from the unmaintained ppa mentioned in
https://launchpad.net/~aims/+archive/...
As this link says, sagemath should be now in debian. My solution was to completely switch to an other distribution. Best for this purpose are the arch based linux distributions. Manjaro did 2y a very good job for me after the first move from ubuntu (and ubuntu based distros), now i am on an arcolinux box, since i could get an arch-like system without any troubles on an older laptop. Consider switching to something else if ubuntu denies access to sage. (And if using sage from debian still makes problems.)
There is a script file called
python3inSageMath/local/binwhich is supposed to be executed as per thesagefile. Thatpython3script has only one command i.e../python3.7, which is a file in the same directory. But for some reason, it doesn't run. I tried executing thepython3file it works fine but when I runbash sageor./sageit gives the error mentioned above.