Ask Your Question

installing a newer version of a package within Sage

asked 2019-10-08 17:29:23 +0200

Max Alekseyev gravatar image

By default running "sage -i normaliz" in Sage 8.9 installs Normaliz version 3.7.2 How one can install a newer version 3.8.0 instead?

Relatedly, if Normaliz was already installed, is there a way to reinstall its newer version?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-10-09 01:42:00 +0200

tmonteil gravatar image

The short answer is no, since the package versions of optional packages are hardcoded into each Sagemath version, so that the behaviour is predictible.

So if you want to have normaliz 3.8.0 (or 3.8.1) installed within Sage, before some Sage release proposes it, you will have to modify SAGE_DIR/build/pkgs/normaliz/package-version.txt and SAGE_DIR/build/pkgs/normaliz/checksums.iniyourself. See for more details.

If this is beyond your skills and you need some feature that exists in 3.8.0 and not 3.7.2, please tell us, and i (or some other developer) will update the package quickly.

edit flag offensive delete link more


Thank you for the answer, I was able to successfully install the current version (3.8.5) of Normaliz with the current Sage 9.1 per your instructions. At the same time, I was unpleasantly surprised that Sage 9.1 comes with the same old Normaliz version 3.7.2. Newer versions are almost always desirable because of bugfixes and speedups they offer. It is sad that third-party packages are not brought to the up-to-date state with each Sage release.

Max Alekseyev gravatar imageMax Alekseyev ( 2020-06-13 21:53:10 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-10-08 17:29:23 +0200

Seen: 518 times

Last updated: Oct 09 '19