Sorry, this content is no longer available

Ask Your Question
0

How do I upgrade sagemath from 7.4 to 8.2

asked 6 years ago

Lukaku gravatar image

I'd like to upgrade sagemath directly without installing the software from scratch. May I have to add a specific repository or is there a command to execute it from consolle? thank you.

Preview: (hide)

Comments

Under what operating system? How was Sage installed?

slelievre gravatar imageslelievre ( 6 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 6 years ago

slelievre gravatar image

updated 6 years ago

In the terminal, cd to the directory of your Sage installation, then run the following commands (don't type the initial $ on each line, which represents the bash prompt).

  • update your sources to the latest stable version

    $ git pull origin master
  • optionally, set your computer to use many cores while building Sage

    $ export MAKE='make -j4'

    (replacing 4 by the number of cores on your machine)

  • build SageMath

    $ make

If the compilation fails, you might have to start it again from scratch:

$ make distclean
$ make
Preview: (hide)
link

Comments

1

If you're going to run make distclean, you might as well download a fresh source tarball and build that. You could try the same but without make distclean, which might work. If it does work, it will be faster.

John Palmieri gravatar imageJohn Palmieri ( 6 years ago )

Thanks for voicing this concern. I updated my answer.

slelievre gravatar imageslelievre ( 6 years ago )

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

Stats

Asked: 6 years ago

Seen: 2,201 times

Last updated: Jul 27 '18