Ask Your Question
0

How can I change the location of DOT_SAGE?

asked 2020-04-08 23:35:27 -0500

done_with_fish gravatar image

The documentation for environment variables used by sage it is mentioned that the default location of DOT_SAGE is $HOME/.sage/ but that this location can be changed.

How can this location be changed?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-04-09 02:16:20 -0500

eric_g gravatar image

Before running SageMath, define the environment variable DOT_SAGE by typing the following command in a terminal:

export DOT_SAGE=/full_path/.sage

where /full_path must be substituted by the actual path to the directory where the file .sage is located.

edit flag offensive delete link more

Comments

Ahh, so sage reads environment variables set by my shell?

done_with_fish gravatar imagedone_with_fish ( 2020-04-09 15:27:55 -0500 )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

Stats

Asked: 2020-04-08 23:35:27 -0500

Seen: 75 times

Last updated: Apr 09