Ask Your Question
0

How can I change the location of DOT_SAGE?

asked 2020-04-09 06:35:27 +0100

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 09:16:20 +0100

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 22:27:55 +0100 )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-09 06:35:27 +0100

Seen: 392 times

Last updated: Apr 09 '20