First time here? Check out the FAQ!

Ask Your Question
0

How can I change the location of DOT_SAGE?

asked 5 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 5 years ago

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.

Preview: (hide)
link

Comments

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

done_with_fish gravatar imagedone_with_fish ( 5 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: 5 years ago

Seen: 409 times

Last updated: Apr 09 '20