From ArchWiki
Jump to navigation Jump to search

The matter of sage package installation

Hi there, I saw that some of my edits to the page are proposed for deletion, hence I take the opportunity to discuss it here.

  • For the "sage -i doesn't work" troubleshooter : I find it appropriate because the use of this command is widely spread in the rest of the sage community, and often gived as a troubleshooter for some bugs. It is thus really surprising as a user to get the error
/usr/bin/sage: line 297: ./sage: No such file or directory

and I felt it should be documented.

  • For the "3D plot fails in notebook" : I admit it is kind of a trivial issue, but at the same time there is a similar issue about the notebook not installed, I feel like it is the same level.
  • For the "Install Sage package" : It might indeed be redundant with the "sage -i" issue and the optional dependency warning, even though I doubt that all the possible sage packages are listed in there.

-- Alcinos (talk) 11:18, 21 January 2016 (UTC)

Hi, thanks for starting the discussion. sage -i does not work, because it searches for the sage executable in the current directory. There are other problems, e.g. sage-pkg and sage-spkg executables are not installed by the sagemath package. This may be a bug of the Arch package or even sage itself.
Basically it's never a good idea to mix system packages and user packages. Most if not all of the standard sage packages are available as Arch packages and exposed as (optional) dependencies of sagemath, so there is no need to install them with sage -i. I guess this should be warned right after the installation section.
-- Lahwaacz (talk) 16:50, 21 January 2016 (UTC)
Yes, I agree that there should have a warning somewhere, anywhere.
Alcinos (talk) 08:43, 22 January 2016 (UTC)
The deletion flag is removed. So could we close this topic then? --Fengchao (talk) 08:26, 15 February 2016 (UTC)
Hi, but what about people trying to install non-standard (such as [ nauty])?
If this question belongs somewhere else, I will move it there, just let me know—so far I have posted it here and here. (I am sorry if the formatting of my comment is not correct, I'm new here.) -- Maca-ouro (talk) 11:18, 21 January 2016 (UTC)
I guess the procedure is the same:
$ pacman -Si sagemath
Optional Deps   : 
                  nauty: for generating some classes of graphs
-- Lahwaacz (talk) 20:01, 22 February 2016 (UTC)
Thank you! I have just added a parenthesis on Sagemath's page about that -- Maca-ouro (talk) 11:19, 23 January 2016 (UTC)
Thanks, but the Installation section was already pointing to Pacman#Installing_packages, which explains how to view optional dependencies (and what they are) as the first thing in a Note. I've reworded the whole section. — Kynikos (talk) 00:49, 24 February 2016 (UTC)
Close. -- Blackteahamburger (talk) 11:34, 13 June 2020 (UTC)

Outdated Information

The "TeX Live does not recognize SageTex" section refers the reader to "/opt/sage...". However, this directory does not exist.

devon.olivier (talk) 14:11, 1 April 2016 (UTC)