I can ask this another way. I have the tarball, and I want to end up with a system wide install. This is not build from source. What is the best way to do this?
In the referenced instructions the modification is to SAGE_LOCAL and not SAGE_ROOT. I'm confused as to the difference and effect. On Wednesday, September 1, 2021 at 2:27:46 PM UTC-5 hbetx9 wrote: > As the directory is in /opt and ownership is root.root, I can't run this > as it gets permission denied when writing the log file. > > On Wednesday, September 1, 2021 at 2:08:56 PM UTC-5 Matthias Koeppe wrote: > >> See >> https://github.com/sagemath/sage/blob/develop/README.md#instructions-to-build-from-source >> point 4 ("./configure --prefix") >> >> On Wednesday, September 1, 2021 at 12:00:15 PM UTC-7 hbetx9 wrote: >> >>> So I got this working in my home directory but want the SageMath >>> directory system wide. I moved it to /opt and changed ownership to >>> root.root, however this causes now a disagreement with the SAGE_ROOT >>> environment variable. Should I unpack the tarball as root there to install >>> or is there an easy config/make that I can run on this directory to get it >>> to work as a system wide install? >>> >>> On Tuesday, August 31, 2021 at 4:22:10 PM UTC-5 Matthias Koeppe wrote: >>> >>>> On Tuesday, August 31, 2021 at 12:55:46 PM UTC-7 hbetx9 wrote: >>>> >>>>> On my system, python2 and python3 is installed, but there is no >>>>> generic python symlink. Does this need to be created for sage and if so >>>>> should it be python3? In installed from tarball, so this is not an issue >>>>> with the Ubuntu package. >>>> >>>> >>>> The latest binary for Linux (https://www.sagemath.org/download.html) >>>> is Sage 9.3. If you are using this binary tarball, you will have to make >>>> sure that the symlink python->python3 exists; there is a package that >>>> provides it. See also >>>> https://wiki.sagemath.org/ReleaseTours/sage-9.3#Availability_in_distributions_and_as_binaries >>>> >>>> The latest version is Sage 9.4. Using the source tarball, there is no >>>> need to do anything about python/python3. Just follow the instructions in >>>> the README. >>>> >>>> >>>> >>> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/024ab17b-41e5-4643-a0a7-c7c435b6266en%40googlegroups.com.