On 4 June, 12:03, Thierry Dumont <tdum...@math.univ-lyon1.fr> wrote: > Le 04/06/2010 11:17, John Cremona a crit :> Brilliant suggestion. I > installed libncurses5-dev and then installing > > lie worked. (And then I found your message, afterwards). > > > Here is an awkward fact: when I run our system-wide install (e.g. on > > the server) the command optional_packages() fails since it is trying > > to write a file into /usr/local/sage/sage-4.4.2/tmp/list which fails > > as the permissions are wrong. Is this a bug, as it appears (surely > > users should be able to find out whether some optional package is > > installed without needing to write any files!)? Or something wrong in > > our installation? > > > John > > For system wide install you *must* do this as priviledged user (sudo or > su depending on your system). > Otherwise you will not have write access to /usr/local > > Thierry
Thierry, I don't think you understood my point. Of course one needs to be superuser to install a package (I use sudo); but on this installation one cannot even ask which optional packages are installed, using the optional_packages() function, without superuser privileges! John Cremona -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org